Avatar of pramod1
pramod1Flag for United States of America

asked on 

office 365

need to correct work phone number of user in his email address book, when I click username in email address book

user is in office 365 portal

users attaributes is syncing through AD FS

should i check user account in office 365 portal
Microsoft OfficeMicrosoft 365

Avatar of undefined
Last Comment
pramod1
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

You should make the change in your on-premises AD, it will sync to Office 365.
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

I don't see the incorrect phone number in attribute editor of that user account in AD. WHERE should I correct
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

I don't see the work number in AD only mobile
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

I need to correct work number
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

In outlook, my work cell is listed as my contact number, not my phone extension of 2861
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

mobile number shows correctly but the work number needs to be changed in outlook when I click user name in to column
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

I need to correct my work number in outlook my mobile number is ok. IN AD I cant find work number attribute column
Avatar of FOX
FOX
Flag of United States of America image

Pramod,
1.  Let's find out which property is holding the wong number
2. Open powershell on your DC (right-click Run as administrator)

Import-Module ActiveDirectory
Get-ADuser "userssamaccountname"  -properties *  | Select *phone*,Office*



Once you find out which property has to be changed reset it.   Let's say it's the OfficePhone that you realized has the wrong number

Set-ADuser "Userssamaccountname" -OfficePhone '555-123-4567'


Once you change the number give it time to sync with o365
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

when I ran this command I don't see the incorrect work number there I see office number and mobile numbers
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

when u double click user name in outlook where is the work number being pulled from?
Avatar of FOX
FOX
Flag of United States of America image

This info is being pulled from AD.  Every company may set their numbers up differently.  ON the user in question use the powershell commands I gave you to see the phone numbers.  If you prefer the gui , open the properties of the user, if you don't see it in the Office number in the General tab, go to the Organization tab and check the numbers in there.
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

when I go to outlook, click on new , type user name  in properties I see work number : xxx.xxx.xxxx which I don't see anywhere in AD that number
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

when I run this command :Get-ADuser "userssamaccountname"  -properties *  | Select *phone*,Office*

I see 4 numbers pulled up but not the number which is shown in user's outlook properties as work number
Avatar of FOX
FOX
Flag of United States of America image

Fair enough  do this command

Get-ADuser "userssamaccountname"  -properties *  | Select *phone*,Office*,work*
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

it doesn't pull the work number , it is blank , should I fill with correct number
Capture.PNG
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

what command should I use to update the work number with correct number
ASKER CERTIFIED SOLUTION
Avatar of FOX
FOX
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

it is not showing, I cant take snip from outlook , when I type username when opening new email , when I double click my username for ex.

I see work and mobile numbers , I see for affected user work number showing incorrect which I cant see in AD profile

where should I check in office 365 portal?
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

I see the same work number in Skype for business online
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

but I don't see that work number in her AD profile
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

Set-ADuser "Userssamaccountname" -OfficePhone '555-123-4567'

I am getting this error
Capture.PNG
Avatar of FOX
FOX
Flag of United States of America image

That screenshot you sent doesn't even match the command you put up there.

Run this command and paste the output
Get-AdUser 'Samaccountname' -properties * | fl
Avatar of pramod1
pramod1
Flag of United States of America image

ASKER

it doesn't give the work number anywhere
Microsoft Office
Microsoft Office

Microsoft Office is an integrated suite of applications that includes Outlook, Word, Excel, Access, PowerPoint, Visio and InfoPath, along with a number of tools to assist in making the individual components work together. Coding within and between the projects is done in Visual Basic for Applications, known as VBA.

80K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo