Forum Discussion
Ankit Shukla
Jul 12, 2018Copper Contributor
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 ...
Max Fritz
Jul 12, 2018Iron 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
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