Managing external identities to enable secure access for partners, customers, and other non-employees
Hello Alex,
This behavior is expected in Microsoft Entra External ID.
Custom user attributes are not automatically included in the ID token, even if the values are populated in the user profile. They must be explicitly configured as token claims.
To resolve this, please validate the following:
Ensure the custom attribute is added in your user flow (User flows → select flow → User attributes).
Navigate to App registrations → your application → Single sign-on → Attributes & Claims, and add a new claim:
- Source: Directory schema extension
- Select the b2c-extensions-app
- Choose the required custom attribute and save [learn.microsoft.com]
- Select the b2c-extensions-app
Additionally, confirm that the custom attribute has a non-null value for the user, as attributes with no value are not emitted in the token.
Once these changes are completed, perform a fresh sign-in and validate the ID token (for example, using jwt.ms).
If the issue still persists, please share your current configuration (user flow and claim mapping), and we can help review it further.