Hello @AIMus-3998 ,
You could achieve this via following graph API for Azure B2C
Here are the steps you could follow:
- Validate your custom attribute: GET https://graph.microsoft.com/v1.0/identity/userFlowAttributes/{id}
- Validate your user: GET https://graph.microsoft.com/beta/users?$select=id,displayName,extension\_{attribute id}
- Patch the user properties with custom attribute value: PATCH https://graph.microsoft.com/v1.0/users/ {user-id}
{
"extension_{attribute id}": "{value}",
}
- Validate the user again to see if the extension property value has been updated or not:
https://graph.microsoft.com/beta/users/{User-id}
Please do let me know if you have any queries by posting them in the comments section.
Thanks,
Akshay Kaushik
Please "Accept the answer", "Upvote" and rate your experience if the suggestion works as per your business need. This will help us and others in the community as well.