Forum Discussion

Ankit Shukla's avatar
Ankit Shukla
Copper Contributor
Jul 12, 2018

Retrieving Custom Attributes of a AzureAD user (synced with AD Environment)

My Development team is trying to load some information from ADSIEDIT.msc  to SharePoint Online via AD Connect . The field they are trying to Populate is through CustomAttributes, but even though the Export Shows successful on AD Connect, they can't seem to find the Attribute updating on AAD, or SPODS

 

Is there a way through Azure PowerShell/SPO PowerShell, i can check if it has loaded successfully or not?

 

Thanks in advance

 

1 Reply

  • Max Fritz's avatar
    Max Fritz
    Iron Contributor
    You can always check with Azure AD PowerShell to see full attributes in Azure AD, or you could use the Microsoft Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer).
    That being said, custom attributes in Azure AD do not automatically flow to SharePoint Online. SharePoint Online uses a synchronization service between itself and Azure AD (called AD Import), which has a preset, nonconfigurable, set of attributes: https://support.microsoft.com/en-us/help/3168272/information-about-user-profile-synchronization-in-sharepoint-online

    There's a thread from last year going through other options to get custom attributes into SharePoint online programmatically. I'd recommend giving this a look and trying some of the options here: https://techcommunity.microsoft.com/t5/SharePoint-Developer/Sync-Custom-Active-Directory-Attributes-with-SharePoint-Online/td-p/30663

Resources