Skip to content

Entra-SSOยถ

TOCยถ

Resolving "name: The attribute name is required" Error in AWS IAM Identity Center SSO Mappingยถ

When syncing users from Microsoft Entra ID (formerly Azure AD) to AWS IAM Identity Center, you may encounter the error:

"name: The attribute name is required"

This issue occurs when the required user attributes are not properly mapped between Microsoft Entra ID and AWS IAM Identity Center. The most common cause is the absence of a mapping for the username attribute.


๐Ÿ› ๏ธ Solution: Attribute Mapping Stepsยถ

Follow these steps to correctly map user attributes and resolve the error:

  1. Access the AWS IAM Identity Center Application

    • In the Microsoft Entra admin center, open the AWS IAM Identity Center application configured for SSO.
  2. Navigate to Provisioning

    • Go to the Provisioning section within the application settings.
  3. Edit Attribute Mappings

    • Locate the mapping for "Synchronize Azure Active Directory Users to AWS IAM Identity Center."
    • Ensure the following attribute mappings are configured:
    Source Attribute (Entra ID) Target Attribute (AWS)
    mail or userPrincipalName userName
    displayName displayName
    givenName name.givenName
    surname name.familyName

    Choosing the Username Attribute

    You can use either mail or userPrincipalName as the source for the AWS userName attribute, depending on your organization's preference.

  4. Save and Sync

    • Save the changes to the attribute mappings.
    • Initiate a manual sync or wait for the next scheduled sync.

Propagation Delay

Changes to attribute mappings may take several minutes to propagate. If users do not sync immediately, wait or trigger a manual sync.


๐Ÿ“š Referencesยถ