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

Marco Milone 46 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

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,863 questions
Azure Active Directory Domain Services
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Andy David - MVP 121.2K 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 46 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 121.2K 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