Link to home
Start Free TrialLog in
Avatar of Mahesh babu
Mahesh babu

asked on

Attribute sync to user profile in SPO

Dear Team,

We have a requirement to sync office location from our local into the user profile of SPO.

We want to update the Usage location of o365 users under the attribute "Office Location" as shown in the attached pic.

But as per this document https://support.office.com/en-ie/article/information-about-user-profile-synchronization-in-sharepoint-online-177eb196-5887-43c9-84c3-b98a43d35129

I do not see the location attribute being synced from AD to SPO.

Any inputs would be really helpful

Thanks in advanceUser generated image
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

There's only a limited subset of attributes that sync to SPO, and we dont have any supported way of adjusting the list. You have to use some programmatic solution, such as the PnP bulk uploader tool (https://github.com/SharePoint/PnP/tree/master/Samples/UserProfile.BatchUpdate.API) or a CSOM script like this one: https://www.tishenko.com/sync-mobile-phone-from-aad-to-sharepoint-online/
Avatar of Mahesh babu
Mahesh babu

ASKER

@vasil Thank you for responding.

So, basically we don't have any other way to know the location of a user from SPO...?

Or

we don't have any other way to Sync user attributes from AD-->AAD connect-->O365/SPO
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria 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