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 / Setting up and managin...
Power Pages
Unanswered

Setting up and managing Azure Active Directory B2C as an identity provider for Power Pages websites across dev, test, and prod environments

(0) ShareShare
ReportReport
Posted on by 26

Hi there, 

 

I was hoping that the forum brains trust could share suggested approaches, best practice, and any resources for setting up, and managing Power Pages website with Azure Active Directory B2C (AAD B2C) as the identity provider, and handling this across different Power Platform environments (DEV, TEST, and PROD). For context regarding our environments, I have a pipeline setup to deploy the Power Pages website solution (and another separate solution with an MDA and Flows) through each environment using GitHub Actions.

 

Regarding the AAD B2C setup, I currently have one AAD B2C setup for our Power Pages website in our DEV environment which is working well. This was setup manual through Azure Portal and the Portal Management app using some very helpful resources like:

 

 

At the time of setting up the up I wasn't aware of the preview wizard interface that was available.

 

My thinking was to just this one tenant for DEV and TEST environments, and then setup another AAD B2C tenant for PROD. However we are struggling to get the AAD B2C working in TEST receiving  the white screen of death ("We're sorry, but something went wrong. Please try again...").

 

I do understand that the suggested best practice to follow a multi tenant approach and have a different AAD B2C tenant per environment. As per https://learn.microsoft.com/en-us/azure/active-directory-b2c/best-practices. But also I'm unsure how to incorporate the different AAD B2C tenant details (e.g. user flows) into our deployment process.

 

To help resolve our issues and hopefully make things a bit easier I was thinking about getting rid of our current AAD B2C setup with the Power Pages website and instead configuring the AAD B2C identity provider in each environment after deploying the portal to each environment using the preview wizard interface provided. As seen here https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/configure-azure-ad-b2c-provider. In particular I was thinking about following the "Select a tenant > Option 2. New Azure AD B2C tenant" approach.

 

Would this be an ok approach or is there a better way to do it? Also would the AAD B2C identity provider setup be maintained in the future with additional releases of the portal app to each environment?

 

Really just trying to explore options, see what others recommended, and how they have done it so I to figure out a path forward.

 

Thanks in advance for you help.

 

Cheers,
Micah

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @micahthobbs 

     

    Yes you can use the new tenant option to set up the first time. This will resolve the issue for sure. In addition, in Azure you will be ending up with below screen 

     

    ragavanrajan_0-1668073821540.png

    one more imp step is "Enable the implicit grant" 

     

    ragavanrajan_1-1668073884100.png


    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

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