<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Import Custom Attributes from Entra ID using OpenID Connect IdP
API Access Management
Okta Classic Engine
Okta Identity Engine
Overview

Okta offers a ready-made template, Microsoft IDP, for configuring Microsoft as an external social IDP. This template, however, uses a fixed schema for user attributes and cannot import or update custom attributes from Entra ID to Okta. 

Applies To
  • Microsoft social login
  • OIDC social login
Cause

Microsoft IdP template cannot be used to import custom user attributes from Entra ID.

Solution
  1. Instead of using the Microsoft Social IdP template, create a custom OpenID Connect IdP. Please see this link for more details.
  2. Endpoints are available from this address: https://login.microsoftonline.com/{Entra Tenant ID}/v2.0/.well-known/openid-configuration
  3. Leave the Userinfo endpoint field blank so Okta will read claims within the ID token instead.

Userinfo endpoint

  1. Follow the same instructions to set up Microsoft Social IdP as detailed here, and go to Applications > App registrations > {App} > and set acceptMappedClaims to "true".
AppRegistration Manifest
  1. Set up claims from Applications > Enterprise Applications > {App} > Single sign-on.
EntApp SingleSign-on
 
NOTE: user.country will be passed on from Microsoft as user.ctry instead, and this seems to be a known issue with Entra ID. See this link for more details.
  1. Configure attribute mappings on Okta to confirm user attributes getting updated upon social login.
Loading
Import Custom Attributes from Entra ID using OpenID Connect IdP