This guide shows how to map attributes from Microsoft Entra ID to Freshservice. Microsoft's own guide: Azure SCIM Provisioning - Freshservice.

Open the mapping settings

  1. Sign in to the Microsoft Entra admin center.
  2. Go to Enterprise applications > Freshservice Provisioning > Provisioning.
  3. Under Mappings, click Provision Microsoft Entra ID Users.
  4. Click Add New Mapping to change a mapping, or Show advanced options > Edit attribute list for Freshservice to add a custom attribute.

Common mappings

Microsoft Entra ID attributeFreshservice target attributeNotes
userPrincipalNameuserNameOnly matching attribute. Keep the externalId mapping.
mailemails[type eq "work"].valueRecommended to ensure uniqueness.
givenNamename.givenNameFirst name. Mandatory. Must not be empty.
surnamename.familyNameLast name
jobTitletitleOptional
departmenturn:ietf:params:scim:schemas:extension:enterprise:2.0:User:departmentMust match a Freshservice department exactly
physicalDeliveryOfficeNameurn:ietf:params:scim:schemas:extension:freshservice:2.0:User:_locationLocation must already exist in Freshservice. Underscore required.
preferredLanguagelocaleUse a supported language code, for example en, fr, de. fr-FR and de-DE are not valid.
Expression (see the timezone article)timezoneUse a Freshservice timezone name
Expression IIF([mail]=[userPrincipalName],"",[mail])urn:ietf:params:scim:schemas:extension:freshservice:2.0:User:_secondaryEmailOptional. Stops the primary email being sent as the secondary email.
managerurn:ietf:params:scim:schemas:extension:enterprise:2.0:User:managerType Reference. The manager must exist in Freshservice.
Constant (true or false)urn:ietf:params:scim:schemas:extension:freshservice:2.0:User:isAgenttrue makes the user an agent and uses an agent licence. Do not set true for requesters.

Mapping custom fields

  1. Click Edit attribute list for Freshservice.
  2. Add an attribute named urn:ietf:params:scim:schemas:extension:freshservice:2.0:User:<custom_field_key>.
  3. Choose the type that matches the Freshservice field (a text field for employee_id, because Entra ID always sends it as a string). Save.
  4. Back on the mapping page, click Add New Mapping, choose the source attribute and set the target to the new attribute. Save.

Find the field keys in Freshservice Admin > Apps > Azure Active Directory provisioning (SCIM) > Settings, in the table below the OAuth token.

Important

  • Use valid values: dates as YYYY-MM-DD, languages from the supported list.
  • Microsoft Entra ID does not send empty values, so a field is not cleared. To clear a value (for example the manager), remove the mapping.
  • If duplicate users appear, check that userName is mapped consistently and that the externalId mapping is still there.

Need help?

For complex problems or help reading logs, contact support at support@effy.co.in.