Questions tagged [azure-ad-b2c-custom-policy]

Azure AD B2C custom policies are configuration files for defining Azure AD B2C tenant. They are commonly used for addressing complex scenario that cannot be addressed through user flows.

Sample scenarios https://github.com/azure-ad-b2c/samples/tree/master#sample-scenarios

To provide product feedback, visit the Azure Active Directory B2C Feedback page.

1054 questions
0
votes
1 answer

Looking to have Azure B2C custom policy use a custom error page (and pass a value)

UPDATE: I am able to finally get my custom error page to render. I had to use
in my view. My last concern here, which seems impossible, is adding the value of one of my claims (from the idToken passed to my B2C policy when I…
0
votes
1 answer

Azure AD B2C Validate Claim value inside custom policy

Are in B2C Custom Policies a way to validate claims comparing them? Lets say we need to validate the user postal code to reset a password, can we do: insertedPostalCode == actualPostalCode ( compare two claims ). Of course, this is after reading the…
julianomontini
  • 325
  • 4
  • 18
0
votes
1 answer

Azure B2C custom Sign In journey - Capture email first

I have a custom user journey with following requirements capture user email check idp associated with that email in b2c relay to the idp login page I can capture the email address but it only works for local accounts not for Azure AD or social…
maria
  • 23
  • 2
0
votes
1 answer

Azure AD B2C - LookupValue fallback value

I am currently working on modifying a HRD policy to fit our needs. I have a claim 'domainParameter' that contains the email domain portion of the user login. I'm using a transform of LookupValue to map different domains. We have multiple groups who…
D3_JMultiply
  • 1,022
  • 2
  • 12
  • 22
0
votes
1 answer

Azure B2C Rotate Policy key through script

We are using API key to call custom API from B2C custom policy as part of seamless migration. We are looking for automated way to rotate policy key. I have tried following C# code using graph client and its updating new key but wanted to know if…
Vikas
  • 25
  • 4
0
votes
1 answer

Change Password with Custom Policy

We are following https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-password-change#:~:text=Choose%20All%20services%20in%20the,for%20and%20select%20the%20TrustframeworkExtensions. to setup change password via custom…
0
votes
0 answers

Azure B2C Different Login Experience Based on Extension Attribute

I have a scenario where it is not desired to have a sign in screen that combines login for local and social/federated accounts. The reason is that users can get confused and may not know which category they belong. The login experience should be…
Bandz
  • 253
  • 4
  • 15
0
votes
1 answer

Check user exists in AD B2C(using custom policy)

Check user exists in AD B2C(using custom policy) if user exists show login option else(if user doesnt exists) show registration form I tried with below policy but couldnt make it…
Ramesh
  • 147
  • 5
  • 14
0
votes
3 answers

Azure B2C samples - SignUpOrSignInWithPhoneOrEmail - skip email collection step

I am currently working with the SignUpOrSignInWithPhoneOrEmail.xml file from the B2C samples and I was wondering if anyone else has been able to figure out how to modify the custom template to skip the email collection step entirely when a user…
JacoJvV
  • 33
  • 7
0
votes
1 answer

Dependent controls functionality in Azure AD B2C Signup page

I am using the AD B2C custom policies to achieve the Sign-in and Signup. In the Signup page, I need to have a dependent controls functionality. Like, once I enter a value in a text box and focus out, a rest API call should be made to pull the…
0
votes
1 answer

Application select greyed out. Azure AD B2C - Identity experience framework

I was simply following this guide: Get started with custom policies in Azure Active Directory B2C Following all the previous instructiones without a problem. I got to "Test the custom policy" where I got stuck. When I open any of my custom policies…
0
votes
1 answer

Api connectors not working [Before creating the user]

I have tried to use api connectors in sign-up flow, But it's not working. I have tried following (1) Api Connectors registration : (2) Linked api connectors in sign-up flow (Before creating the user) (3) End point (API) ** I am not using…
Umang
  • 71
  • 7
0
votes
1 answer

Lookup user by self-asserted email and redirect to user's social login provider if the user exists

I'm trying to come up with a Azure AD B2C policy to lookup the user based on the email address provided in step 1. How do I query AAD using the self asserted email address provided and then redirect the user to the social login provider they signed…
Jacques Snyman
  • 4,115
  • 1
  • 29
  • 49
0
votes
1 answer

Sending data from my web application to call a REST API service from a B2C custom policy

The scenario is that we want to create a database registry with customer data at the same time that the user's AD B2C account is created, because of business requirements. Right now, our application receives input from the user (name, phone, etc.),…
0
votes
1 answer

Azure AD B2C - Custom UI - Date picker validation

I need to fix this validation that appears for the date picker (date of birth, in this case), when I use Azure AD B2C custom UI. This validation appears right after I choose the day, instead of waiting for the user to submit the other fields. Is…