You can configure an export template to update each user's manager attribute in Active Directory or Azure AD. This creates an object reference to the user's immediate supervisor, based on data from your source HR system.
Configuration
-
Go to the export template for active users.
-
Find and open the appropriate sync template for AD or Azure AD.
-
Check if there is a mapping for the target attribute
manageralready exists. -
If no mapping exists, click Edit and then Add new mapping.
Mapping Configuration
To create the reference, you must map the manager's unique identifier from the source system to the manager attribute in the target system. This requires a specific transformation to look up the manager's user object.
Set the following values in the new mapping:
-
Target Attribute (
Goals):manager -
Transform/Lookup:
User.Manager -
Source (
Source): Select the source attribute that contains the manager's ID. -
Foreign Key (
Remote key):Manager
Example 1: Using Visma
If your source system is Visma, the manager's ID may be stored in the User ID attribute.
-
Target Attribute:
manager -
Transform/Lookup:
User.Manager -
Source:
User ID -
Foreign Key:
Manager
Example 2: Using Agresso/Unit4 ERP
If your source system is Agresso, the manager's ID may be stored in the Employee Number attribute.
-
Target Attribute:
manager -
Transform/Lookup:
User.Manager -
Source:
Employee Number -
Foreign Key:
Manager
Updating Existing Users
After saving the new mapping, the manager attribute will be updated for users during subsequent synchronization cycles.
Warning: To apply this change retroactively to all existing users, you must manually trigger a re-export. To do this, click the "Play" button for the sync template.