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
1
vote
2 answers

Username Discovery in B2C

I am trying to configure forgot user Name flow using https://github.com/azure-ad-b2c/samples/tree/master/policies/username-discovery where users can provide their email and it will discover the user name and call REST technical profile within the…
t_t
  • 19
  • 3
1
vote
1 answer

Azure Ad B2C auto signin after signup/resetpassword

In my .net6 razor pages web application, I could see signin, signout, signup and reset password policies working perfectly fine. But after successful execution of a policy journey, say signup or reset password, the web app…
1
vote
1 answer

Azure AD B2C custom policies : Delete TOTP information from User profile

I am referring this Link to clears the information from a provided list of claims . I want to delete TOTP information from users profile using custom policies. But there is NO example/reference to clear these claims related to TOTP. I just want to…
Rajendra Thorat
  • 3,248
  • 3
  • 15
  • 24
1
vote
1 answer

How to dynamically display data in B2C sign up page with a localized String?

So I am trying to display a query parameter in my HTML page. I have not had an issue doing this is a claim, I created this. ID string
Bnd10706
  • 1,933
  • 5
  • 24
  • 39
1
vote
1 answer

Azure B2C handle cancel button in custom policy

Is there anyway to handle where the cancel button redirects from within a custom policy. I am actually not going to have a custom webapp behind this policy and the app that is there is not customizable by myself. I am working with the kind of setup…
Andrew Wiebe
  • 111
  • 13
1
vote
1 answer

Inviting a consumer to Azure AD B2C with custom in-app attributes

Inviting a consumer user to Azure AD B2C has been covered by other Stack Overflow questions & answers, and AFAIK requires the use of custom policies that entail a signed JWT being created and used during invite redemption. What I'm trying to figure…
1
vote
1 answer

Azur AD B2C Custom Policy

I have added a user flow, and want to overwrite that with my own custom policy as per this video or this article. The only issue is that I am using openId connect and this is for local account only, anyone knows how to change the xml to openId…
1
vote
1 answer

Entering the Change Password Custom Policy as an Authenticated User

When redirecting the user into a Custom Policy Change Password policy/flow, as shown in the linked documentation below. https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-password-change-policy?pivots=b2c-custom-policy Is there a way…
Adrian Thompson Phillips
  • 6,893
  • 6
  • 38
  • 69
1
vote
0 answers

Federate multiple IdP with OIDC to Azure B2C and authentication without user interaction

We are trying to use Azure B2C for a use case where we did not find much information. The idea is that several partners, each with their corresponding IdPs, will embed in their web and mobile applications our platform. This platform can be consumed…
1
vote
1 answer

What does CPIM stand for in the context of AAD B2C?

While documenting some custom B2C policies I implemented, I noticed I have no idea if "CPIM" actually means. Despite searching, I could not find the answer. Is CPIM an acronym? What does it stand for?
jannef
  • 93
  • 1
  • 7
1
vote
0 answers

Error ocurred while executing AddSErvicePrincipalPolicy in powershell

I get the following error when executing the following command: I need this because I have to assign the policy to my service entity In Azure AD , in api permissions I have this:
1
vote
1 answer

How to appy string transformation for azure b2c idp url usin claim resolver

Use case : As a developer i want to to extract the redirect_uri from the b2c idp url and then apply claim transformation preferably a string one to extract certain information and use that to build the loadURi under content definition and display…
1
vote
2 answers

How to include roles in issued token when using multi-tenant Azure AD with Azure AD B2C?

I've set up sign-in for multi-tenant Azure Active Directory using custom policies in Azure Active Directory B2C, so administrators of the Azure ADs can manage their own users. The sign-in works and I now want to support app roles. I've defined app…
Martin4ndersen
  • 2,806
  • 1
  • 23
  • 32
1
vote
1 answer

Azure B2C custom layout redirect to domain hint but not taking login_hint

This is my current scenario: I'm currently using Azure B2C with user flows. I create a custom layout for my login with some scripts that hide the IDP buttons and take the domain email to redirect to the proper IDP(like a user journey). The…
1
vote
2 answers

Global exception page is not being rendered for ADB2C for exceptions instead the login page is rendered. Find a way to render custom error page

I am using azureadb2c integration. On the customised login page which is using a third party login just like google or fb after successfully entering user and password we have a consent page. When user accept the consent it redirects to our Home…