How we can sync windows account name from Onpremises to Azure AD?

raj a 216 Reputation points

We have Azure AD connect to sync objects from On-premises Active Directory to Azure AD & want to sync the Windows Account Name (Domain\samaccountname) to azure AD.

Is it possible to sync Windows Account Name (Domain\samaccountname) to azure AD?

Can anyone please advice how we can do that?

Thanks much.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,768 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 20,676 Reputation points Microsoft Employee

    Azure AD Connect synchronizes the on-premises SamAccountName to Azure AD as OnPremisesSamaccountName, and it's mapped to "accountName" in the metaverse.

    For the newer versions of Graph API, it's exposed using either of these calls in Graph Explorer:$select=onPremisesSamAccountName    

    Related threads, for reference:

    Let me know if this helps.

    No comments