Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

One thought on “SharePoint Online: Export User Profile Properties to CSV using PowerShell

  • February 5, 2021 at 2:29 PM

    Hi Thanks for sharing this scripts

    I tried to run the first script “SharePoint Online: Export User Profiles to CSV using PowerShell”, but half way through the console returned the following error message:

    Error Exporting User Profile Properties! Exception calling “ExecuteQuery” with “0” argument(s): “The remote server returned an error: (429).”

    I searched on google for solutions and one of the first entries came with this suggestion:

    “To work around this issue, I suggest you put all the uploading tasks in one console application, schedule the uploading frequency in a certain interval in the code logic, this might help to reduce the burden on both client and server machine.”

    https://social.msdn.microsoft.com/Forums/azure/en-US/bc93fed0-5771-4878-8762-bd7cb98926de/the-remote-server-returned-an-error-429-too-many-requests-csom-c?forum=sharepointdevelopment

    I’ll try to work out a solution myself, but it will be worth to update your scrip(s)t to overcome this issue.

    Reply

Leave a Reply