How to add SamAccountName as a source attribute in provisioning

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

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

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,574 questions
1 vote

2 answers

Sort by: Most helpful
  1. answered 2020-09-15T07:00:15.687+00:00
    Vasil Michev 61,451 Reputation points Microsoft MVP

    SamAccountName gets synced as onPremisesSamAccountName, so just use that.

    No comments

  2. answered 2020-09-15T07:53:38.163+00:00
    AmanpreetSingh-MSFT 55,171 Reputation points

    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.