How to map user attributes to Lattice with SCIM through Microsoft Azure AD, now renamed to Microsoft Entra ID.
Map user attributes
- Navigate back into your custom Lattice App > go to Provisioning.
- Under Manage Provisioning, click Edit attribute mappings.
- Expand Mappings, click Provision Azure Active Directory Users. At this time we do not support mapping through Provision Azure Active Directory Groups.
- Complete the following options:
- (Optional) Under Source Object Scope, set the scoping filters for the object record queries that will be initiated for each provisioning cycle.
- Under Target Object Actions, select the target object actions in scope for each provisioning cycle (Create/Update/Delete).
- Under Attribute Mappings, define how attributes are synchronized between Azure AD and the Lattice SCIM app.
- To ensure the Attribute Mappings are aligned to Lattice attributes, the following fields need to be removed from the mapping:
- preferredLanguage
- physicalDeliveryOfficeName
- streetAddress
- city
- state
- postalCode
- country
- mobile
- facsimileTelephoneNumber
- Find and click on the field mailNickname.
- Change the source attribute to objectID.
- Set the Matching precedence to 2.
- Click Save.
Note: Once this is complete, the userPrincipalName will be set as matching precedence “1” and objectId will be set as matching precedence “2”. This ensures a secondary matching precedence can be used to match user records from Azure objectId attribute to Lattice externalId attribute if no matches are found using the primary matching precedence of Azure userPrincipalName attribute to Lattice’s userName attribute.
Map the manager field
The manager field is a complex field and will require extra steps to ensure they are mapped correctly:
- At the bottom of the Attribute Mapping page, mark the Show advanced options checkbox.
- Click Edit attribute list for customappsso.
- Add another line with the following values:
Name urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager.value Type Reference Referenced Object Attribute urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.externalId - Click Save.
- Now go back to the Attribute Mapping page.
- Find and click the field manager.
- Change the Target attribute to urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager.value.
- Click OK.
- Click Save.
Next, add additional user attribute mappings or continue to turn on provisioning in Azure.