Connector for Microsoft Entra ID (Azure AD)
This documentation references external sources. Nexthink does not have control over the accuracy of third-party documentation, nor any external updates or changes that might create inconsistencies with the information presented on this page. Please report any errors or inconsistencies to Nexthink Support.
The connector for Microsoft Entra ID (formerly named Azure AD) allows you to import user information from Entra ID. Schedule the feature to run automatically and communicate with the Azure application according to the configuration of the Azure portal.
Prerequisites
Set up Microsoft Entra ID Connect if you have Hybrid Azure AD joined devices. Refer to the Microsoft tool to identify the state of your devices.
Register a new application in your Azure portal.
During the registration process, ensure you select the Single tenant option.
For the Redirect URI, use the drop-down list to select Web.
When asked for application permissions, select User.Read.All.
Check Microsoft documentation on how to install and configure Microsoft Entra ID Connect.
Configuring the Nexthink web interface
To set up an Entra ID connector using the Nexthink web interface:
Access Administration > Inbound connectors from the main menu.
Choose the Entra ID (Azure AD) option from the Inbound connectors page.
Click on the New connector button in the top-right corner of the page.
Fill in the fields under the General tab following the in-product documentation in the right-side menu of the Nexthink web interface.
You can configure more than one Entra ID connector with different settings.
Field Mapping
After configuring the General Tab from the selected Entra ID connector page, map Nexthink user fields with their corresponding Entra ID properties:
Click the Field mapping tab from the selected Entra ID connector page.
Type in the exact name of the desired Entra ID property in the text input field under Common.
See the example field mapping table on this page.
In addition, Add custom field mapping to quickly map Entra ID properties using expandable drop-downs with suggested items: created user-type custom fields and Entra ID properties.
You can still type in any Entra ID property not suggested by the expandable drop-down.
Field mapping table
The table below is an example of mapping common Nexthink fields and Entra ID properties by typing the property names directly in the Nexthink web interface. Consider the following:
Entra ID property names are case-sensitive.
Text input boxes for Entra ID properties let you control field mapping. For instance, you can have the
Distinguished name
field populated with theemployeeId
property.
Distinguished name
onPremisesDistinguishedName
Employee's name as displayed in the address book
Name
userPrincipalName
Employee's user principal name
Full name
displayName
Employee's name as displayed in the address book
mail
Employee's email address
Department
department
Name of the employee’s department
Job title
jobTitle
Employee's job title
Location/Office
officeLocation
Name of the employee’s office location
Locality name/City
city
Office location - city
Country code
postalCode
Office location - postal code
Organizational unit name
streetAddress
Office location - street address
If you use the Enrichment API to enrich AD fields—Distinguished name, Email, or others—ensure you do not map the same fields here to avoid overridden values.
Mapping extended properties
Entra ID allows you to extend data using Microsoft Graph extensions and map extended properties with the Entra ID connector. The Nexthink field allows you to map existing data within the Microsoft Graph object using extensions.
There are 4 types of extensions:
Extension Attributes
The table below shows an example of how to map existing data from extension attributes using the onPremisesExtensionAttributes
property.
"onPremisesExtensionAttributes": {
"extensionAttribute1": "value1"
....
"extensionAttribute15": "value15"
}
onPremisesExtensionAttributes.extensionAttribute3
value3
Microsoft Entra ID supports up to 15 extension attributes.
The connector for Microsoft Entra ID also supports accessing specific values for any kind of structured or complex property. For example, retrieving the costCenter
of the employeeOrgData
property or retrieving a given disabledPlans
from the assignedLicenses
property.
"employeeOrgData": {
"division": "valueDiv",
"costCenter": "valueCost"
}
employeeOrgData.costCenter
valueCost
"assignedLicenses": [
{
"disabledPlans": [],
"skuId": "a403..."
},
{
"disabledPlans": [
"57a0...",
"3634..."
],
"skuId": "bc94..."
}
]
assignedLicenses[1].disabledPlans[0]
57a0...
Directory Extensions
For Directory extensions, use the following naming convention:
Format -> extension_<client_id>_<name>
When defining the mapping, specify the extension name and client_id
.
The table below shows examples of how to retrieve existing data in the directory extensions.
"extension_d99f..._arrayDirExt": [
"value1",
"value2"
]
extension_d99f..._arrayDirExt[1]
value2
"extension_d99f..._stringDirExt": "test_value"
extension_d99f..._stringDirExt
test_value
Schema Extensions
For Schema extensions, use the following naming convention:
Format ->
ext<8_random_alphanumeric_chars>_<name>
If the company owns a domain: Format ->
<domain_name>_<name>
The examples below show how to map existing data in the schema extension.
"extoi9fq37m_userInfoSchemaExt": {
"workAnniversary": "2024-01-11T07:44:28Z",
"feetSize": 42 }
extoi9fq37m_userInfoSchemaExt.workAnniversary
2024-01-11T07:44:28Z
"mydomain_userInfoSchemaExt": {
"workAnniversary": "2024-01-11T07:44:28Z",
"feetSize": 42
}
mydomain_userInfoSchemaExt.feetSize
42
Open Extensions
Schema extension names do not follow any naming convention. When defining them, add openExtension
before the extension ID.
The example below shows how to map existing data in the open extension.
"extensions": [
{
"hairColor": "blond",
"feetSize": 42,
"isRemoteWorker": true,
"id": "personalDetailsOpenExt"
}
]
openExtension.personalDetailsOpenExt.hairColor
blond
For all previous extensions—extension attributes, directory, schema, or open extensions— the full extension object can be retrieved using extension names without adding any specific key or element to the mapping.
For instance, the example below shows how to retrieve the full personalDetailsOpenExt
open extension object.
"extensions": [
{
"hairColor": "blond",
"feetSize": 42,
"isRemoteWorker": true,
"id": "personalDetailsOpenExt"
}
]
openExtension.personalDetailsOpenExt
{
"hairColor": "blond",
"feetSize": 42,
"isRemoteWorker": true,
"id": "personalDetailsOpenExt"
}
F.A.Q.
Last updated