Microsoft Entra ID (Azure AD) User Sync

ServiceDesk Plus enables you to import users from Microsoft Entra ID (Azure AD) based on certain criteria. You can map Azure AD user fields with ServiceDesk Plus fields to import specific user details.

You can also automatically sync deleted users from Microsoft Entra ID to ServiceDesk Plus.

Role Required: Organization Admin for ESM Setup; SDAdmin for non-ESM setup

You can import users from multiple tenants into the application. Each tenant must have a separate app registration.

ServiceDesk Plus only reads user information from Azure via API and does not modify data in Azure.     

Please disable AD import for domains with Microsoft Entra ID sync configured

 

Prerequisites  

Configure Microsoft Entra ID

To obtain user and group information from Azure AD, create an App registration with the required permissions. Follow the steps below to register the application.

Role Required: Global Administrator

 

 Note that Accounts in this organizational directory only option must be selected to sync users from Entra ID. 

 

 Group.Read.All permission is required to list Azure user groups when setting criteria. If you do not require group-based criteria, this permission is not necessary. 


 

Configure User Sync 

Set up Microsoft Entra ID integration for user synchronization under ESM Directory > User Management > Microsoft Entra ID (Azure AD) for ESM setups.

For non-ESM setups, access Microsoft Entra ID (Azure AD) under Admin > Users & Permissions.

Follow these steps to configure user import from Microsoft Entra ID:

Step 1: Add Domains

Add domains to sync users from Microsoft Entra ID. You can set up multiple domains with different field mapping and criteria for importing users.

 

Refer here to obtain Client ID, Client Secret, and Token URL from Azure.

After the test connection is successful, the Field Mapping and User Import Settings section will appear in the Add Domain pop-up.

 

Step 2: Field Mapping

Map user detail fields for synchronization from Microsoft Entra ID in the Add Domain pop-up.

 

 Name and Login Name fields are mandatory for fetching Azure users and cannot be removed .

The Reporting To field can be mapped only to the manager field in Azure AD. 

 Object ID, userPrincipalName,  onPremisesUserPrincipalName, onPremisesDomainName, and onPremisesSamAccountName are imported by default. 

Additional fields can also be used for field mapping in ServiceDesk Plus.

 

Step 3: User Import Settings

Schedule the user import for periodic sync or import users manually in the Add Domain pop-up.

When adding new users, the user's manager will be automatically included as a user. To prevent this, remove the manager field in the Field Mapping section.

When field mapping or user import criteria are changed, full import will be initiated for the next delta sync.

Step 4: Set a local authentication password for imported users   

Set a default local authentication password for users imported from Microsoft Entra ID. Users can change this password after their first login.

 Ensure that the predefined password meets all password policy requirements. 
 Users will receive their password details via email.  Configure email notifications for users under Admin > Automation > Notification Rules > Request > Send Self-service login details.
 You can mandate users to update the default password after their first login under Admin > Security Settings > Password Policy for non-ESM setups and ESM Directory > Security Settings > Password Policy for ESM setups.
The local authentication password set for AD imported users is also applicable for users imported from CSV files.

 

Step 5: Schedule Microsoft Entra ID import  

Schedule user import to synchronize user details periodically. Users and their details are synchronized with ServiceDesk Plus in two ways:

When the schedule is enabled, both Full import and Delta import are automatically enabled. To enable the import schedule,

 

The users will be imported per the schedule, and the user information will be updated every hour. You can view the last import time and the next scheduled time in the Import Schedule section. 

The import summary will be notified to the Organization Admin (for ESM setup) and SDAdmins (for non-ESM setup) through bell notifications. It can be viewed under , and will display the count of users added, updated, and failed. Additionally, a CSV file containing the User Principal Name of the failed users will be included.

User accounts may be overwritten if they meet specific conditions. Learn more.
During delta sync, only import failures will be notified to the SDAdmin/Organization Admin. 
 Please perform a full sync at least once every 30 days to ensure that user details are up to date. 

 

Step 6: Sync deleted users from Active Directory  

Configure what happens to the user data in ServiceDesk Plus when they are deleted in Microsoft Entra ID.

You can either delete the users automatically or manually. Deleted users will be synced with ServiceDesk Plus during the configured full import schedule.

To configure the syncing of deleted users,

If manual deletion is chosen, the SDAdmin/Organization Admin will receive a bell notification and a list of deleted users will be displayed upon clicking the notification.

If automatic deletion is chosen,

Additionally, the link to the deleted users list will be displayed on the Microsoft Entra ID page in ServiceDesk Plus and also under Admin > Users & Permission > Users/Technician tab. The SDAdmin/Organization Admin can review the list before removing the users from ServiceDesk Plus.

Authentication

Authenticate imported Entra ID users using SAML SSO - https://pitstop.manageengine.com/portal/en/kb/articles/configuring-saml-with-azure-ad-9-8-2020

 Criteria to Overwrite  User

The user will be overwritten if:

 This option can be enabled/disabled under General Settings > Advanced Portal Settings in non-ESM setups and ESM Directory > General Settings > Application Settings in ESM setups. 

If none of the above criteria are met, a new account will be created for the Azure user.

 onPremisesUserPrincipalName, onPremisesImmutableId, OnPremiseDomainName, OnPremiseSamAccountName fields will be available in Microsoft Entra ID only for users synced from OnPremise Active Directory.


Refer to the following Microsoft documentation to learn more about synching users from OnPremises Active Directory: 

 Adding an attribute mapping from AD to Microsoft Entra ID   

 Integrating a single forest with a single Microsoft Entra tenant