Forum Discussion
Find out a server with Azure AD Connect
I think I've done filtering exactly as on your screenshot, but in my case I'm getting users' email addresses as usernames.
Hi Cloud_Geek_82 ,
Yes, that's mostly correct. I've just blanked out the remainder of the username in my screenshot above.
When AAD Connect is installed, it creates the synchronisation account with the username in the format of:
sync_netBIOSName_randomNumber[@]yourTenant.onmicrosoft.com
(Note, I've used [@] instead of just @ to avoid any addressing issues on the forums.)
Where netBIOSName (the part I boxed in green in my screenshot) is the name of the computer running AAD Connect.
Strictly-speaking, this username is not the mail address, but another attribute that looks the same named userPrincipalName. Most of the time, both mail and userPrincipalName will indeed contain the same values but it's important to note this is not required and that they are two different attributes with very different purposes.
Anyhow, you're already looking at the right thing. You just need to pluck out the computer name and you're done.
Cheers,
Lain