Attribute sync to user profile in SPO

Mahesh babu
Mahesh babu used Ask the Experts™
on
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 advanceCapture.JPG
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:
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/
Mahesh babuSr. Tech Specialist

Author

Commented:
@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
Most Valuable Expert 2015
Distinguished Expert 2018
Commented:
I listed the available methods above. Either that, or you need to populate it manually.

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