TimH
TimH

Reputation: 1032

Azure B2C Custom Email OTP 'Create Account' Disable

I have been working through the custom OTP email guidance from Microsoft here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email-sendgrid?pivots=b2c-custom-policy

However, after entering the validation code, I cannot actually Create account, as the button is disabled.

enter image description here

Can anybody suggest (in general) where my custom policy might be going wrong? I am hesitant to post all of my custom policy xml, as it is quite lengthy and includes other features that are a challenge to sanitize for stack overflow.

Upvotes: 0

Views: 346

Answers (2)

TimH
TimH

Reputation: 1032

It turns out that a co-worker had some custom javascript running in the custom html for our custom policy. It was mucking about with button properties, improperly. So, the policy file seems to have been fine!

Upvotes: 0

Martin Fink
Martin Fink

Reputation: 56

I can only guess from one screenshot, but I would check and update all content definitions (see https://learn.microsoft.com/en-us/azure/active-directory-b2c/contentdefinitions) and pagelayout versions (see https://learn.microsoft.com/en-us/azure/active-directory-b2c/page-layout).

I've had to update both to make custom OTP emails work for our custom policy.

Upvotes: 1

Related Questions