<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
System Status
Announcements
Announcements
Search
Search
Select Language

"Unknown Profile Attribute" Error When Integrating Entra ID as an Okta Identity Provider

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 error appears in the Okta System Log:

FAILURE: Unknown Profile Attribute

Error

Correcting the external name mapping in the IdP profile resolves the issue.

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

How do external names map to Okta attributes?

Map the external name that Entra ID sends to an Okta attribute with a matching external name. Otherwise, Okta does not recognize the attribute. Find the external name from Entra ID in the System Log, compare it to the required attributes, and recreate the attribute in the Identity Provider (IdP) profile with the correct external name.

 

  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 an Okta Identity Provider | Okta Support