Skip to main content

Notifications

Power Pages - General Discussions
Unanswered

Configure 2 different B2C policies for Sign in and Sign up

(0) ShareShare
ReportReport
Posted on by 66

Hi all, we have a requirement to restrict b2c sign ups to only invited users. providing Sign up option on the B2C sign in page is not an option for us because eventhough the user might not be able to access (as we removed open registraiton option in power pages), but the user will still get an identity created in the b2c. We dont want to have these identities getting created as well. 

 

We thought having 2 different policies will help user to redirect to either sign in or sign up but this doesnt seem to work with power pages. Any body tried this approach?

 

essentially what I'm looking for is - Is it possible to use 2 different Policies for Sign in and Sign up journeys ?

 

Thanks 

-Srikanth

Categories:
  • SAlluri Profile Picture
    SAlluri 66 on at
    Re: Configure 2 different B2C policies for Sign in and Sign up

    This probably work.. ie, you want us to keep the identity open for all, but when a user tries to register we should first check if the user is "eligible" to register or not and then let the identity create.

     

    This is what you mean @Fubar , correct? That involves a bit more work than I expected..

     

    For now, the simplest solution I found for the situation is, whenever a external identity record is created with issuer url as SignUP url , create one another with the same identity id but the issuer url as SignIn url. 

     

    I was expecting the "Valid Issuers" setting would work by giving both the urls as valid urls but that is not the case, unfortunately..

     

  • SAlluri Profile Picture
    SAlluri 66 on at
    Re: Configure 2 different B2C policies for Sign in and Sign up

    This is an interesting post, thanks for sharing @EmadBeshai . The interesting point in this post for me (kinda surprise) is - it says, if we want to use AADB2C,  it is not possible to have the issuer url as a custom domain (like for example - in my case it is https://login.ciam.clientname.come/) ... it expects the domain to contain ".b2clogin.com".. 

     

    Any one know this? I dont see any official documentation in this regard. Something to check with Microsoft i guess.

  • Fubar Profile Picture
    Fubar 7,675 on at
    Re: Configure 2 different B2C policies for Sign in and Sign up

    You can also implement a custom B2C policy, that validates against another data source i.e. have your B2C verify details against Dataverse before creating the user in B2C. https://learn.microsoft.com/en-us/azure/active-directory-b2c/api-connectors-overview?pivots=b2c-custom-policy

  • EmadBeshai Profile Picture
    EmadBeshai 806 on at
    Re: Configure 2 different B2C policies for Sign in and Sign up

    Hi @SAlluri ,

     

    Can you please have a look to this article Getting Power Apps Portal to work with Custom Policies in Azure AD B2C - WhoIAM

     

    If this post helps you with your problem, please mark this answer as Accepted Solution.

    If you like my response, please give it a Thumbs Up. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard