0

Trying to add Azure AD custom attribute and access custom attributes through claims (JWT Access token).

I tried using Azure AD Graph explorer but I got “Updates to converged application are not allowed in this version”.

Here is the request to add custom attributes

{

"name": "employeenumber",

"dataType": "String",

"targetObjects": [
    "User"
]

}

Idea is to

1) Add custom attribute using Graph Explorer website-POST (Register extension)

2) Set values for custom attributes suing Graph explorer – PATCH (Alternative use Graph service sdk)

3) Modify applicant manifest of the Azure AD application and return the extension property as claims.

I’m stuck in Step 1.

Any help is appreciated

0

1 Answer 1

0

The application you have registered is v2.0 version(supports personal account).

Unfortunately, Register an extension only supports v1.0.

You can retry with a v1.0 application.

Microsoft strongly recommends that you use Microsoft Graph instead of Azure AD Graph API to access Azure Active Directory resources.

For how to add custom attribute to Azure AD user with Microsoft Graph API, please refer to: Add custom data to users using open extensions.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.