A simple script that helps in locating password sync events for a user in Azure AD Connect

This time Pavel wish to share with us a useful script that helps determine when was the last time that a user’s password was synchronized to Azure AD.

by | Published: | Updated:

Hello again!

This time I want to share with you a simple and quite useful script that helps determine when was the last time that certain user’s password was synchronized to Azure AD.

The only location where this is registered is the Event Viewer under Application events with the Event ID 657.

The script will look for the sourceAnchor of the user and display the results:

ADSyncPasswordSyncEvents

The script must be run from the AD Connect server that has the ActiveDirectory PowerShell module installed (the module can be installed from the Features – Remote Server Administration Tools menu in Server Manager)

The script is available for download from here

Enjoy 🙂

Pavel Rozenberg

About the Author

Pavel Rozenberg - Infrastructure Consultant at U-BTech Solutions

-

comments powered by Disqus