ADB2C | Custom Policy | User Flow | Update Identities

Abhay Chandramouli 1,026 Reputation points
2022-10-20T15:24:33.533+00:00

Hi,
I am using AdB2c custom policies.

I want to update a user's email signin identity or mobile sign in indentity using custom policy UI.
Is it possible ?
A sample should help

Thanks

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,917 questions
0 comments No comments
{count} votes

Accepted answer
  1. James Hamil 25,396 Reputation points Microsoft Employee
    2022-10-20T22:42:50.187+00:00

    Hi @Abhay Chandramouli , I don't have any samples for this currently available bit I can help walk you through it. You would need to use the Graph API for this. This thread details how you can set this up. An example of a call you can make to update a user's email follows:

    PATCH https://graph.microsoft.com/v1.0/users/{id-or-upn}  
      
    {  
        "identities": [  
            {  
                "signInType": "emailAddress",  
                "issuer": "{tenant-name}",  
                "issuerAssignedId": "{user-signIn-email}"  
            }  
        ]  
    }  
    

    as detailed here. Please let me know what questions you have about this and I can help you further.

    Thank you,
    James


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.