Syncing extension attributes from Azure AD (Entra ID)
Overview
Section titled “Overview”To sync extension attributes from Azure AD (Microsoft Entra ID) into Opensense, Opensense needs the attribute name and your Azure tenant ID. A Microsoft administrator finds both and sends them to your Opensense representative.
If the extension attributes you need aren’t in Azure AD yet, add them first with Microsoft Entra Connect. See Syncing Active Directory attributes to Entra ID (directory extensions).
Finding the attribute name and tenant ID
Section titled “Finding the attribute name and tenant ID”An extension attribute’s full name has the form extension_{ApplicationId}_<attributeName>, for example extension_9d98ed114c4840d298fad781915f27e4_employeeID. Opensense needs the full name.
-
In Microsoft Graph PowerShell, list the extension attributes in your tenant:
Terminal window Get-MgDirectoryObjectAvailableExtensionPropertyOr list the extension attributes and values for one user:
Terminal window (Get-MgBetaUser -UserId "<Id or UserPrincipalName>").AdditionalProperties -
Optional: check a value in Microsoft Graph Explorer. Ask for the attribute by name, because Microsoft Graph returns extension attributes only when you select them:
https://graph.microsoft.com/beta/users/{user@yourdomain.com}?$select=extension_{ApplicationId}_<attributeName> -
Find your tenant ID. In the Microsoft Entra admin center, the Overview page shows the Tenant ID.
-
Send the attribute names and the tenant ID to your Opensense representative.
For more ways to view extension attributes, see Microsoft’s Microsoft Entra Connect Sync: Directory extensions.
Previous method: Azure AD Graph Explorer
Section titled “Previous method: Azure AD Graph Explorer”-
Open Azure AD Graph Explorer.
-
Enter:
https://graph.windows.net/{{yourdomain.com}}/users/{{user@yourdomain.com}}Replace
{{yourdomain.com}}and{{user@yourdomain.com}}with your own domain and user. For example:https://graph.windows.net/opensense.com/users/tori.scharadin@opensense.comYou can choose any user.
-
Sign in before you click GO.
-
Copy the results into a text file or an email. The results look similar to the screenshot below.
-
Send them to your Opensense representative.

What’s next
Section titled “What’s next”- Syncing Active Directory attributes to Entra ID (directory extensions): add attributes that exist only in on-premises Active Directory.
- What Azure Active Directory fields can be used when syncing with Opensense?: the fields Opensense syncs by default.

