Map onpremiseAD attribute to custom Attribute of AzureAD

Ritik 0 Reputation points
2024-10-17T11:18:09.3833333+00:00

I am requesting assistance with creating a custom attribute in Azure Active Directory (Azure AD) and mapping an Active Directory (AD) attribute to this custom extension attribute using Azure AD Connect.

I successfully created a custom extension attribute using a Microsoft Graph API call. However, I cannot find this custom extension attribute when attempting to map it from Active Directory to Azure AD in the Synchronization Rules Editor.

Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Security Microsoft Entra Other
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 49,640 Reputation points MVP Volunteer Moderator
    2024-10-17T11:58:01.0033333+00:00

    By default, custom attributes do not immediately show up in the Azure AD Connect Synchronization Rules Editor.

    To refresh the schema:

    • Open Azure AD Connect on the server.
    • Go to Synchronize > Refresh Directory Schema and select Entra ID.
    • Wait for the schema refresh to complete.

    Next, use Synchronization Rules Editor.

    • Create a new inbound rule:
    • Connected System: Select your on-premises Active Directory.
    • Attribute Mapping: In the list of target attributes, search for the custom extension attribute (it will appear as extension_{AppId}_attributeName).
    • Map the desired on-prem AD attribute (e.g., department) to this extension attribute.

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


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.