Forum Discussion
Biju Daniel
Aug 02, 2018Copper Contributor
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.
Aug 02, 2018
Have you seen this: https://blog.kloud.com.au/2016/10/24/how-to-export-user-error-data-from-azure-ad-connect-with-csexport/?
Biju Daniel
Aug 02, 2018Copper 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.
- VasilMichevAug 02, 2018MVP
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