
Announcements
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
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
one more imp step is "Enable the implicit grant"
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.