共用方式為


How to find Dirsync/AAD Connect Server?

Hello All,

I recently ran into an issue where an administrator had left the company, and unfortunately he was the only one to know which server was the dirsync server. Prior to beginning this task of restarting the Dirsync service, we discovered that no one knew which server was running Dirsync. This particular admin had over 72 servers that they were responsible for, so rather than going through each server to look for the program or the sync service, I found another trick to find the server running dirsync.

All you need to do is go in to the Active Directory Users and Computers and find the MSOL account. In the description of the account it will list which server to which the application was ran.

  1. Open Active Directory Users and Computers.
  2. Search for the account "Msol".
  3. Open the description. The description will tell you where AAD Connect was installed. Scroll to the right, or copy and paste the entire description in a notepad.

msol-account

Comments

  • Anonymous
    August 29, 2018
    Thank you!!
  • Anonymous
    February 13, 2019
    (The content was deleted per user request)
  • Anonymous
    February 13, 2019
    Great idea... except when your mystery admin has set up AAD with a custom service account rather than using the GMSA that gets created during the default install. :-(With any luck, they gave it an identifiable name, so you can go through your DC security log for 4624 logon events from that user.