How to add SamAccountName as a source attribute in provisioning

Jacob White 31 Reputation points
2020-09-15T04:14:50.087+00:00

I can see according to this documentation here: https://t.co/rNmJamIwZg "some attributes (such as SAMAccountName) that are synchronized by default might not be exposed using the Microsoft Graph API. In these cases, you can use the Azure AD Connect directory extension feature to synchronize the attribute to Azure AD. That way, the attribute will be visible to the Microsoft Graph API and the Azure AD provisioning service."

But would anyone know the steps to be taken to implement this? I can't seem to find it

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,457 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Vasil Michev 95,181 Reputation points MVP
    2020-09-15T07:00:15.687+00:00

    SamAccountName gets synced as onPremisesSamAccountName, so just use that.

    0 comments No comments

  2. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-09-15T07:53:38.163+00:00

    Hello @Jacob White ,

    I suspect that statement is for older version of graph api, which is graph.windows.net. However, with the newer version of graph api i.e., graph.microsoft.com it is exposed as onPremisesSamAccountName and can be found by using either of the below calls via graph explorer:

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.