How to add SamAccountName as a source attribute in provisioning

Jacob White 36 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 Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    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,871 Reputation points Moderator
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.