Scenario
You are using Exclaimer and want to query Azure AD for custom attribute data.
Resolution
Follow the steps below to use the Graph Explorer tool to query for the user:
CAUTION! To complete the steps described below, you will need:
Microsoft 365 Global Administrator credentials
- Browse to the Azure AD Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer)
- Click Login and sign in with your Office 365 Global Administrator account.
- If prompted, accept the permissions request:
- Click Modify permissions.
- Click Consent for User.Read.All.
-
In the query box, enter the following:
https://graph.microsoft.com/v1.0/users/<UPN OF USER HERE>?$select=displayName,onPremisesExtensionAttributes - Click Run Query.
The results page displays an output similar to this:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users(displayName,onPremisesExtensionAttributes)/$entity",
"displayName": "David Milward",
"onPremisesExtensionAttributes": {
"extensionAttribute1": null,
"extensionAttribute2": null,
"extensionAttribute3": null,
"extensionAttribute4": null,
"extensionAttribute5": null,
"extensionAttribute6": null,
"extensionAttribute7": null,
"extensionAttribute8": null,
"extensionAttribute9": null,
"extensionAttribute10": null,
"extensionAttribute11": null,
"extensionAttribute12": null,
"extensionAttribute13": null,
"extensionAttribute14": null,
"extensionAttribute15": null
}
}- This will display all the data for the Custom Attributes feature for Exclaimer.
- This will not return the attributes created by the Directory Extensions Sync from AD Connect.