Unable to create custom attributes for targeted type "User" using HTTP POST schemaExtension operation

Sarthak S. Mohanty 0 Reputation points
2025-07-01T10:27:23.0633333+00:00

In MS Entra ID, with the help of MS Graph API calls, I'm trying to create a custom attribute for one of our major projects to store certain values for target type as "user" using HTTP POST https://graph.microsoft.com/v1.0/schemaExtensions call & it's appearing to me that the result is successful with HTTP Response code 201 Created.

But when I'm using this attribute to perform a PATCH Operation against an existing User Record to bring the status of this schema Extension from "InDevelopment" to "Available", I'm receiving "The following extension properties are not available" Bad Request responses.

If I'm trying to list down all schemaExtensions using HTTP GET https://graph.microsoft.com/v1.0/schemaExtensions, unable to see that created custom attribute nor any custom attributes created with the application registered to perform this operation as the owner.

But when I'm either trying to list down the details of that custom attribute using HTTP GET https://graph.microsoft.com/v1.0/schemaExtensions/{ id}, I'm able to see the details & when trying to list the custom attributes owned by the application ( as the owner using a filter), able to see those.

One of the custom attribute was created more than 2 days back, thus I think it can not be a propagation issue. Can you please assist in resolving this problem at an urgent basis, which would be really helpful.

Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kancharla Saiteja 5,985 Reputation points Microsoft External Staff Moderator
    2025-07-07T15:38:53.7933333+00:00

    Hi @Sarthak S. Mohanty,

    Based on your query, I understand that you would like to add schema extensions which you are able to see an extension attributes.

    There are four kinds of operations to update the custom data for the resource type "user". The error you are seeing actually shows when there is a value already exist for that particular extension. If you would like to update the extension attributes, you can just make sure there is no value available for the extension attribute. You can update the values using the following document: Custom data options in Microsoft Graph.

    Please do check all the four options available and try updating the data as per your requirement.I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.