0

I have an application running on azure ad b2c.

I have requirement to restrict email to only one domain. for this I have to change pattern in Email claim.

What I have tried it is I changed it in basepolicy and uploaded it. I got some new issues while signin.because that base policy was not matching the requirement of current signup-signin policy. I have downloaded it from custom policy starter packs.

Is there any another way to do this? OR any way to change the existing signup-signin policy.

2
  • Is the existing sign-up or sign-in policy a built-in one rather than a custom one? Commented Jul 15, 2018 at 1:51
  • Yes Chris, this is the built in one. I have changed the pattern in email claim. And uploaded it along with base and base extensions. Commented Jul 15, 2018 at 3:00

1 Answer 1

2

A built-in policy can't be affected by a custom policy since each is derived from different policy structures. The policy structure for a built-in policy is managed by Microsoft. The policy structure for a custom policy is managed by you.

You can't change the regular expression of the email claim for a built-in policy so you'll have to create the custom policy and replace the built-in one with this custom one.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.