Skip to main content
Skip table of contents

Configuring the Manager Reference for AD/Azure AD

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

  1. Navigate to the export template for active users.

  2. Find and open the relevant sync template for AD or Azure AD.

  3. Check if a mapping for the target attribute manager already exists.

  4. 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 transform to look up the manager's user object.

Set the following values in the new mapping:

  • Target Attribute (Mål): manager

  • Transform/Lookup: User.Manager

  • Source (Kilde): Select the source attribute that contains the manager's ID.

  • Foreign Key (Fjernnøkkel): Manager

Example 1: Using Visma

If your source system is Visma, the manager's ID might be stored in the UserID attribute.

  • Target Attribute: manager

  • Transform/Lookup: User.Manager

  • Source: UserID

  • Foreign Key: Manager

Example 2: Using Agresso/Unit4 ERP

If your source system is Agresso, the manager's ID might be stored in the EmployeeNumber attribute.

  • Target Attribute: manager

  • Transform/Lookup: User.Manager

  • Source: EmployeeNumber

  • 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.