How to change SSPR email id when using username(not emailid) to sign in in the contect of Azure B2C

sunny 21 Reputation points
2020-08-10T21:26:30.393+00:00

Is it possible to change SSPR email id when using username(not emailid) to sign in in the context of Azure B2C?

Scenario:
Using Azure B2C
Using username (not email id) to sign in
Email is provided for SSPR
Need to provide option for the user to edit their email id.

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,808 questions
{count} votes

Accepted answer
  1. JamesTran-MSFT 36,561 Reputation points Microsoft Employee
    2020-08-19T21:12:21.967+00:00

    @sunny
    Thank you for your patience throughout this issue. I received an update from our engineering team and have done some testing on my end and will post my findings below.

    Engineering team update:
    You need a custom policy which targets rewriting the "strongAuthenticationEmailAddress" attribute
    StackOverflow related question
    A B2C IEF Custom Policy which uses Usernames as the sign in identifier
    Get started with custom policies in Azure Active Directory B2C

    Testing:
    I tested out some alternative ways to reset a user's email and found that you can also do this by having the user go to:
    aka.ms/ssprsetup

    Once logged in, you can have a user change their email address or phone number, and this will update the "Authentication Methods" blade for the user.
    18932-ssprsetup.jpg

    You also have to ensure that you have "Email" checked under "methods available to the user". This is regardless of the "Number of methods required..", it can be set to 1 or 2.
    18895-passwordresetmethods.jpg

    Changed my email just to demonstrate:
    18905-changedemail.jpg

    Lastly, you can also easily change a user's Alternate Email address by using Msol commands.

    Please let me know if you have any other questions.
    Thank you for your time and patience throughout this issue!

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. sunny 21 Reputation points
    2020-08-12T00:31:22.37+00:00

    @JamesTran-MSFT , I am talking about allowing the user to edit the email id used for mfa/sspr, under Authenticator contact details. Please refer the screenshot. How do we provide the option to the user to change Email field in the screenshot?
    16879-authenticatorcontact.jpg


  2. sunny 21 Reputation points
    2020-08-17T17:17:15.257+00:00

    @JamesTran-MSFT
    Thanks, I will wait for your confirmation after you hear back from engineering team.

    0 comments No comments

  3. sunny 21 Reputation points
    2020-08-20T19:27:07.48+00:00

    @JamesTran-MSFT , Thanks for replying again.
    Would aka.ms/ssprsetup work for b2c as well? I see it works for Azure AD but how the same work for B2C?

    I see you are suggesting email could be changed using custom policy. We will try that out. From initial findings, it seems strongAuthenticationEmailAddress is ready only for B2C but we will try and get back


  4. sunny 21 Reputation points
    2020-08-24T19:00:30.357+00:00

    @JamesTran-MSFT
    We were able to implement this using custom policies and it worked like a charm. Thanks. We would be detailing the steps around this as there was nothing specifically available on web that pointed to this specific use case.

    strongAuthenticationEmailAddress is what needed to be changed in the custom flow