Azure AD Connect: How To Export User Error Data

Azure AD Connect (AADC) is one of the most important components in Azure / office 365 projects. Sometimes when we troubleshoot the errors in AADC it’s not so easy to go through all of them. It’s easier to export it all for quick reference and faster review.

Here is a set of commands we need to execute to export that error data to a CSV file:

To view that data in a nice CSV format run:

We now have a file in our [%temp%] directory named “Errors-Export.csv”.

Written by Misha Hanin

Trusted Business & Technology Advisor, Solutions Managing Director & Senior Solutions Architect at iRangers International Inc. with more than 25 years of experience in the field of information technology, infrastructure analysis and design, implementing innovative and leading technologies for International companies around the globe in public and private sectors.

Over the years I was able to develop very strong technical and engineering skills which helped me to earn trusted advisor status with our clients. As one of the nearly 500 trained Microsoft Certified Masters (MCM) in The World (during 10 years existence of MCM program, just about 500 people in The World participated in this very intensive training), I have a winning track record in building and bringing projects to operational and measurable success.

I am honored to have been awarded Microsoft Most Valuable Professional (MVP). This award is given to "exceptional, independent community leaders who share their passion, technical expertise, and real-world knowledge of Microsoft products with others."