Forum Discussion
agirlwhocodes
Sep 15, 2020Copper Contributor
Custom user properties in AD
We have AD hybrid (AD on prem > AD connect > AAD (Azure Active Directory)) and we want to be able to pull custom properties through to Sharepoint Online (for example, user shoe size, user hair colour...
Sudharsan K
Sep 16, 2020Steel Contributor
Hi agirlwhocodes,
Please follow the below link to create custom attributes in AAD.
The above-defined custom attributes can be synced using the Azure AD Connect with an on-prem hybrid approach. But the properties are not synced to SharePoint UPS by default it has to be synced through custom code. You can find an SPFx web part that will allow syncing the properties from AAD to SharePoint UPS in a more user-friendly way.
https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-spupsproperty-sync
https://spknowledge.com/2020/05/21/spfx-sharepoint-user-profile-property-sync/
Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...