Powershell to Export Dir Sync Errors

%3CLINGO-SUB%20id%3D%22lingo-sub-222581%22%20slang%3D%22en-US%22%3EPowershell%20to%20Export%20Dir%20Sync%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222581%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20anyone%20has%20a%20good%20PS%20Script%20to%20Export%20Dir%20Sync%20Errors%20to%20.csv%20%3F%3C%2FP%3E%3CP%3EI%20found%20few%20in%20Web%20and%20not%20that%20user%20friendly.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-222581%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222907%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%20to%20Export%20Dir%20Sync%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222907%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20you%20seen%20the%20examples%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fconnect%2Factive-directory-aadconnectsyncservice-duplicate-attribute-resiliency%23identifying-objects-with-dirsyncprovisioningerrors%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fconnect%2Factive-directory-aadconnectsyncservice-duplicate-attribute-resiliency%23identifying-objects-with-dirsyncprovisioningerrors%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat's%20basically%20all%20you%20need%2C%20but%20you%20can%20also%20include%20information%20for%20generic%20errors%20not%20necessarily%20related%20to%20DirSync%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2741233%2Fyou-see-validation-errors-for-users-in-the-office-365-portal-or-in-the%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2741233%2Fyou-see-validation-errors-for-users-in-the-office-365-portal-or-in-the%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222780%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%20to%20Export%20Dir%20Sync%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222780%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20I%20am%20looking%20for%20a%20Powershell%20to%20run%20from%20O365%20Powershell%2C%20to%20export%20the%20Dir%20sync%20errors.%3C%2FP%3E%3CP%3EI%20don't%20have%20access%20to%20ADComnnect%20Server.%20But%20I%20have%20Admin%20rights%20on%20O365%20and%20Exchange%20Online%20to%20run%20O365%20PS%20with%20admin%20rights.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222661%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%20to%20Export%20Dir%20Sync%20Errors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222661%22%20slang%3D%22en-US%22%3EHave%20you%20seen%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Fblog.kloud.com.au%2F2016%2F10%2F24%2Fhow-to-export-user-error-data-from-azure-ad-connect-with-csexport%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.kloud.com.au%2F2016%2F10%2F24%2Fhow-to-export-user-error-data-from-azure-ad-connect-with-csexport%2F%3C%2FA%3E%3F%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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
Highlighted

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.

Highlighted

Have you seen the examples here: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsyncservi...

 

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-3...