web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Configure 2 different ...
Power Pages
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:
I have the same question (0)
  • EmadBeshai Profile Picture
    806 Moderator on at

    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. 

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    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

  • SAlluri Profile Picture
    66 on at

    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.

  • SAlluri Profile Picture
    66 on at

    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..

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard