Retrieve Additional User Properties for Microsoft Entra User Provider
- Last UpdatedJul 08, 2025
- 1 minute read
You can retrieve additional user properties in Microsoft Entra provider so that you can use that property in User Search and Assignment.
You need to add the additional property in the Definition XML as,
<property name="mailNickname" type="string" displayName="MailNickName" entitymappedproperty="UserMailNickName" />
To Add Additional Property in the Definition Xml
-
In Central Configuration, go to Repository Provider List.
-
Select the repository configured with Microsoft Entra Provider and expand it.
-
Access the Definition XML of User Entity by clicking on the Click here option beside User Entity.
-
Edit the Definition XML and add the property for the new field.
Example:
<property name="UserMailNickName" displayname="MailNickName" type="string" />
-
Select the provider Definition XML and click the Definition XML
-
Edit the Definition XML and add,
<property name="mailNickname" type="string" displayName="MailNickName" entitymappedproperty="UserMailNickName" />
-
Add the Locales text for the display name as,
aadprovider.MailNickName:MailNickName
-
Do an IISReset to reflect the added property.