Forum Discussion
Bulk Update SharePoint Online User Profile Properties with Extension Attributes in Azure AD
Not sure if the reply is too late, but we had a similar solution where we needed to update some properties that are not synced by default.
We were using Graph API to get all the users from Azure AD and then sync with SharePoint User Profile entries by submitting a JSON file to UPS import job.
In brief we followed the steps:
- Get data from Graph API (with deltas, getting only the updated identities from last sync)
- Create a JSON with all users with new values (User Profile properties vs new values from Azure AD)
- Store JSON file in a document library
- Submit the JSON to UPS by using what is explained here - https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/bulk-user-profile-update-api-for-sharepoint-online
The user profile properties that will be updated by the process needs to configured in UPS as non editable by the users (for some specific properties we created new properties in UPS)