Sync userPrincipalName fo Azure AD to custom attribute in on Prem AD

Marco Milone 51 Reputation points

Hi, I created a custom Attribute on the active directory on Prem following this guide: . The local attribute created is called userPrincipalNameAzureAD . I need to modify the sync rules so that when the sync happens the Azure AD "userPrincipalName" attribute is copied to the active directory's "userPrincipalNameAzureAD" attribute on prem. I tried to edit the rules of the connector but the drop-down menu doesn't offer me "userPrincipalNameAzureAD" from the Local active directory. Does anyone have any suggestions?

Best Regards

Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,450 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Andy David - MVP 144.7K Reputation points MVP

    You can create directory extensions in AADConnect to sync on-prem> Azure:

    It wont sync from Azure > on-prem however...

    0 comments No comments

  2. Marco Milone 51 Reputation points

    Hi, i need to sync as follow

    Azure AD > OnPrem AD

    userPrincipalName > userPrincipalNameAzureAD

    The attribute extensions sync OnPrem > Azure

    Thansk and Recarda

    0 comments No comments

  3. Andy David - MVP 144.7K Reputation points MVP

    Sorry, thats not possible with any built-in architecture. There is no automatic sync in that direction (Azure> On-Prem) and there is no writeback for Azure properties like that using AADConnect or AD Cloud Sync.

    0 comments No comments