Azure AD profile mappings

Problem statement

What are the default Azure AD profile mappings?

Solution

The Azure AD profile mappings are as follows (Auth0 attributes are on left, while Azure AD attributes are on right, in order they are tested):

puid: 'http://schemas.xmlsoap.org/claims/PUID';,
upn: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name';, 'unique_name'],
user_id: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name';, 'unique_name'],
azure_id: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier';, 'sub'],
given_name: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname';, 'given_name'],
family_name: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname';, 'family_name'],
nickname: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name';, 'unique_name'],
tenantid: ['http://schemas.microsoft.com/identity/claims/tenantid';, 'tid'],
roles: ['http://schemas.microsoft.com/ws/2008/06/identity/claims/roles';, 'roles', 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role';, 'role'],
account_enabled: 'accountEnabled',
assigned_licenses: 'assignedLicenses',
assigned_plans: 'assignedPlans',
city: 'city',
country: 'country',
department: 'department',
dir_sync_enabled: 'dirSyncEnabled',
fax: 'facsimileTelephoneNumber',
job_title: 'jobTitle',
last_sync: 'lastDirSyncTime',
mobile: 'mobile',
group_ids: 'groups',
phone: 'phone',
physical_delivery_office_name: 'physicalDeliveryOfficeName',
postal_code: 'postalCode',
preferred_language: 'preferredLanguage',
provisioned_plans: 'provisionedPlans',
provisioning_errors: 'provisioningErrors',
proxy_addresses: 'proxyAddresses',
state: 'state',
street: 'streetAddress',
telephoneNumber: 'telephoneNumber',
usage_location: 'usageLocation',
oid: ['http://schemas.microsoft.com/identity/claims/objectidentifier';, 'oid']
1 Like