SOLVED

Bulk update custom user profile properties for SharePoint Online - scheduled sync

Copper Contributor

Would like to sync custom user attributes from the AAD, such as employee id, employee grade into SharePoint online on a regular, pre-programmed basis. Say, every alternate Sunday at 12AM. 

 

Can anyone share the script required to enable this scheduled update of custom properties?

 

Thanks!

3 Replies
Hi,
Please refer the below link for syncing the custom properties to SharePoint UPS.
https://windowssharepointserver.blogspot.com/2020/03/powershell-to-update-sharepoint-online.html

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...
Thanks Sudharsan. Any idea about the script required to program this as a regular scheduled job?
best response confirmed by jonathan_kong (Copper Contributor)
Solution
Hi,
You can use inhouse server and configure a window scheduler or you can you azure functions using this powershell and schedule it using Microsoft Power Automate.
1 best response

Accepted Solutions
best response confirmed by jonathan_kong (Copper Contributor)
Solution
Hi,
You can use inhouse server and configure a window scheduler or you can you azure functions using this powershell and schedule it using Microsoft Power Automate.

View solution in original post