Syncing Manager from Azure AD

sordid
Kilo Contributor

We have Azure AD and have provisioned ServiceNow through the Azure portal.   We're in the middle of syncing all our attributes into ServiceNow (so syncing is working), but we can't find a way to import any user's manager, it doesn't seem to be an attribute.

Anyone done this before? Thanks!

7 REPLIES 7

Michael Fry1
Kilo Patron

Take a look at the transform scripts that come out of the box on the example transform map. Setting the manager is controlled by the scripts, not just a field mapping. Section 9.2 talks about the scripts and 9.3 shows the onStart and onAfter scripts: LDAP Integration Setup - ServiceNow Wiki


Thanks.   Unfortunately we don't have LDAP as we're using Azure AD to sync, not the "old" Active Directory


pr-hds
Kilo Explorer

Click on add attribute mapping


Under Source: Azure AD Select


User ; Direct ; manager



Under Target: ServiceNow select


New


Attribute Name: Manager


Type: Reference
Referenced Object Name: sys_user


Referenced Object System ID Attribute: sys_id


Referenced Object matching attribute: user_name



try that.   It's working for us.   I'm having an issue getting the group manager to sync.


Hi Praveen,



Did you find a way to do group manager mapping?