AD B2C custom policy UI

Niren Adhikary (NAD) 146 Reputation points
2022-06-23T08:50:33.453+00:00

Hello,

In the AD B2C custom policy user flow we have below screen.

214274-image.png

We would like to remove the Continue button from the flow . How can we do that ?

We don't need the continue button and Send verification button should be sufficient to redirect user to next page. Sometimes the page takes time to load/redirect to next and user gets a page to continue if the user click continue it returns an error message.

The next screen is below.

214321-image.png

Here also we don't want a continue button and verify code should be sufficient.

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

2 answers

Sort by: Most helpful
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2022-06-23T09:50:57.07+00:00

    Hi @Niren Adhikary (NAD) ,

    Thanks for reaching out.

    I understand you are looking to remove continue button and want to add continue button functionality into verify code button.

    Unfortunately, you can't do this using User Flow or Custom Policy. You need to use custom HTML page with JavaScript/CSS to update any UI.

    JavaScript is officially supported with B2C. So anything you cannot do directly via user flow or custom policy, you can use JavaScript for that purpose.

    Reference: https://learn.microsoft.com/en-us/azure/active-directory-b2c/javascript-and-page-layout?pivots=b2c-custom-policy

    Thanks,
    Shweta

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

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


  2. Niren Adhikary (NAD) 146 Reputation points
    2022-06-27T02:56:16.797+00:00

    Another defect ,

    Step 1
    215110-image.png

    Step 2
    215194-image.png

    Step 3
    215186-image.png

    Can you fix it asap as it is a bug on MS side ?

    also Is it possible to get the html templates so we can modify it and link to storage account?

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/contentdefinitions

    0 comments No comments

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.