<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
"Unknown Profile Attribute" Error when Integrating Entra ID as IdP
Single Sign-On
Okta Classic Engine
Okta Identity Engine
Overview

When integrating Microsoft Entra ID as an Identity Provider (IdP) with Okta as a Service Provider (SP), the following errors may be seen in the Okta System Log:

 

FAILURE: Unknown Profile Attribute

 

Error  

Applies To
  • Microsoft Entra ID
  • Identity Provider (IdP)
  • Service Provider (SP)
  • Single Sign-On (SSO)
Cause

Entra ID user attributes to Okta attributes are incorrectly configured.

Solution

The external name for the Entra ID attribute sent from Entra ID must be mapped to an Okta attribute with a matching external name. Otherwise, Okta will not recognize the attribute.

 

  1. Access the Okta Admin Console.
  2. Navigate to Reports > System Log and enter the following filter in the search box to find the Unknown Profile Attribute error in the Okta System Logs:

eventType eq "user.authentication.auth_via_IDP" and outcome.result eq "FAILURE" and outcome.reason eq "Unknown Profile Attribute"

 

systemlogs

 

  1. Expand Event > System > DebugData > AttributeNames entry in the Okta System Log to see the external name sent by Entra ID.

 

attributenames

 

  1. Navigate to Security > Identity Providers and click Edit Profile and Mappings for the desired IdP.

idp

 

  1. Compare the external name sent by Entra ID shown in the Okta System Log against the table below to see what variable name it corresponds with. In this example, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname matches with firstName.
  2. Click on the pencil for the row with the firstName Variable Name to verify the external name configuration.

In this example, the external name is configured as firstName, which does not match the external name being sent from Entra ID, which is present in the Okta System Logs.

firstname

externalname

  1. To correct this, delete the attribute from the IdP profile and re-create it with the appropriate external name.

firstname

Add attribute

 

NOTE: The attribute will need to be set to Do not map under Mappings before it will be allowed to be deleted.


 Attributes Required by Okta

Variable NameExternal Name
emailhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
firstNamehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
lastNamehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

 

Optional attributes

Variable NameExternal Name
tenantidhttp://schemas.microsoft.com/identity/claims/tenantid
objectidentifierhttp://schemas.microsoft.com/identity/claims/objectidentifier
identityproviderhttp://schemas.microsoft.com/identity/claims/identityprovider
authnmethodsreferences  http://schemas.microsoft.com/claims/authnmethodsreferences 

 

Related References 

Loading
"Unknown Profile Attribute" Error when Integrating Entra ID as IdP