Custom field in user profile Azure B2C

Anonymous
2022-07-01T11:34:37.22+00:00

I created a custom field in the user profile.
This field is not filled in by the user during registration, but is filled in later by the administrator directly on the Azure B2C portal
I don't see this field in the user profile when I open the profile for editing on the portal side.
How can I see it in the user profile on the Azure B2C portal and edit its value directly on the portal?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

Accepted answer
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2022-07-05T11:03:33.813+00:00

    Hi anonymous user,

    Thanks for reaching out.

    I understand you are looking to view and update custom field's value from the portal.

    You cannot view/edit custom attribute's value from Azure Portal.

    Values to custom attributes can be assigned by users either during signup or you can use profile editing user flow to assign/update the value of custom attribute.

    You can use the Graph API beta endpoint https://graph.microsoft.com/beta/users/object-id-of-the-user to view the custom attribute values assign to the user as

    "extension_app-id-of-b2c-extension-app_customAttributeName": "value",

    217649-image.png

    Admin can update the above field value with patch request:
    PATCH https://graph.microsoft.com/beta/users/object-id-of-the-user
    Body:
    {"extension_app-id-of-b2c-extension-app-without-hyphen_custom-attrib-name":"assigned/update_value"}

    Hope this will help.

    Thanks,
    Shweta

    -------------------------------------

    Please remember to "Accept Answer" if answer helped you.


0 additional answers

Sort by: Most helpful

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.