office 365

pramod1
pramod1 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
You should make the change in your on-premises AD, it will sync to Office 365.

Author

Commented:
I don't see the incorrect phone number in attribute editor of that user account in AD. WHERE should I correct

Author

Commented:
I don't see the work number in AD only mobile
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I need to correct work number

Author

Commented:
In outlook, my work cell is listed as my contact number, not my phone extension of 2861

Author

Commented:
mobile number shows correctly but the work number needs to be changed in outlook when I click user name in to column

Author

Commented:
I need to correct my work number in outlook my mobile number is ok. IN AD I cant find work number attribute column
FOXActive Directory/Exchange Engineer
Top Expert 2015

Commented:
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

Author

Commented:
when I ran this command I don't see the incorrect work number there I see office number and mobile numbers

Author

Commented:
when u double click user name in outlook where is the work number being pulled from?
FOXActive Directory/Exchange Engineer
Top Expert 2015

Commented:
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.

Author

Commented:
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

Author

Commented:
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
FOXActive Directory/Exchange Engineer
Top Expert 2015

Commented:
Fair enough  do this command

Get-ADuser "userssamaccountname"  -properties *  | Select *phone*,Office*,work*

Author

Commented:
it doesn't pull the work number , it is blank , should I fill with correct number
Capture.PNG

Author

Commented:
what command should I use to update the work number with correct number
Active Directory/Exchange Engineer
Top Expert 2015
Commented:
Please send a screenshot of what you see in outlook which you said contains the wrong number
I want to make sure you are editing the correct property

Also run the below to view all properties
Get-ADuser "userssamaccountname"  -properties *  | fl

Verify if the wrong work number is in that list of properties

Author

Commented:
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?

Author

Commented:

Author

Commented:
I see the same work number in Skype for business online

Author

Commented:
but I don't see that work number in her AD profile

Author

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

I am getting this error
Capture.PNG
FOXActive Directory/Exchange Engineer
Top Expert 2015

Commented:
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

Author

Commented:
it doesn't give the work number anywhere

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial