79630733

Date: 2025-05-20 15:25:44
Score: 2
Natty:
Report link

What you can do is to edit the optional claims in the Enterprise Application (Service Principal) which is connected to the App Registration. In the Enterprise Application you can configure optional claims that should be passed to ID and access tokens.

  1. Go to the Enterprise Application you want to edit
  2. Select Single sign-on
  3. Edit Attributes & Claims

Attributes & Claims edit

  1. Click on Add new claim

Add new claim

  1. Add your specific claim and Save

User claim

Afterwards you should see the optional claim in the Enterprise Application and should get your user.extensionattribute15 as your configured claim in the ID and access token.

new claim

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What you can
  • Low reputation (0.5):
Posted by: AW94