Link to home
Start Free TrialLog in
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
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

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

ASKER

I don't see the work number in AD only mobile
Avatar of pramod1

ASKER

I need to correct work number
Avatar of pramod1

ASKER

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

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

ASKER

I need to correct my work number in outlook my mobile number is ok. IN AD I cant find work number attribute column
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

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

ASKER

when u double click user name in outlook where is the work number being pulled from?
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

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

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
Fair enough  do this command

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

ASKER

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

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

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pramod1

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

ASKER

I see the same work number in Skype for business online
Avatar of pramod1

ASKER

but I don't see that work number in her AD profile
Avatar of pramod1

ASKER

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

I am getting this error
Capture.PNG
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

ASKER

it doesn't give the work number anywhere