Hello Georg Pavlovic,
Please consult the document user-flow-add-custom-attributes which clearly outlines, when you add a custom attribute to the list of user attributes, it becomes available for use in your user flows. However, the attribute is only created the first time it’s used in any user flow. Once you’ve created a new user through a user flow that includes the newly added custom attribute, the object can be queried in Microsoft Graph Explorer. You should now see the custom attribute (e.g. in your case, Salutation
) in the list of attributes collected during the sign-up journey on the user object. You can call the Graph API from your application to get the data from this attribute after it’s added to the user object.
You can also read and write these attributes by using the Microsoft Graph API. Microsoft Graph API supports creating and updating a user with extension attributes. Extension attributes in the Graph API are named by using the convention extension_<extensions-app-id>_attributename
. For example:
JSON
"extension_831374b3bd5041bfaa5426xxxxxxxxx_Salutation":
The <extensions-app-id>
is specific to your tenant. To find this identifier, navigate to Identity > Applications > App registrations > All applications. Search for the app that starts with “aad-extensions-app” and select it. On the app’s Overview page, note the Application (client) ID.
Please refer below doc:
https://learn.microsoft.com/en-us/entra/external-id/user-flow-add-custom-attributes
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".