Forum Discussion
Powershell to Export Dir Sync Errors
Is there anyone has a good PS Script to Export Dir Sync Errors to .csv ?
I found few in Web and not that user friendly.
3 Replies
- Biju DanielCopper Contributor
Well I am looking for a Powershell to run from O365 Powershell, to export the Dir sync errors.
I don't have access to ADComnnect Server. But I have Admin rights on O365 and Exchange Online to run O365 PS with admin rights.
Have you seen the examples here: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsyncservice-duplicate-attribute-resiliency#identifying-objects-with-dirsyncprovisioningerrors
That's basically all you need, but you can also include information for generic errors not necessarily related to DirSync: https://support.microsoft.com/en-us/help/2741233/you-see-validation-errors-for-users-in-the-office-365-portal-or-in-the