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 / Azure AD B2C on Multip...
Power Pages
Answered

Azure AD B2C on Multiple Power Pages Sites

(0) ShareShare
ReportReport
Posted on by 235
Hello Folks,
 
I'm using Azure AD B2C as a default identity provider for my Power Pages site which is in Sandbox environment. Now, I want to move this site to UAT and Production environment. I want to ask do I need to configure Azure AD B2C again for these two environments(i.e. UAT and Production) ? 
Categories:
I have the same question (0)
  • Verified answer
    Robu1 Profile Picture
    1,459 Super User 2025 Season 2 on at
    Hi  ,
     
    Thank you for choosing Microsoft Power Platform Communities.
     
    Yes, when moving your Power Pages site from the Sandbox environment to UAT and Production, you'll typically need to configure Azure AD B2C again for these environments.
     
    Each environment (Sandbox, UAT, and Production) is treated as a separate instance, so they require their own setup.
     
    Here are the steps you might need to follow:
    Create Separate Azure AD B2C Applications:
    You'll need to create separate Azure AD B2C applications for UAT and Production, mirroring the configurations you have for your Sandbox environment.
     
     
    Update Redirect URIs:
    Ensure that the redirect URIs for UAT and Production environments are correctly configured in their respective Azure AD B2C applications.
     
    Configure the Identity Provider in Power Pages:
    For each environment, configure Azure AD B2C as an identity provider in your Power Pages site. Use the corresponding Azure AD B2C tenant and application settings.
     
    Test the Setup:
    Before going live in Production, ensure you thoroughly test the UAT setup to verify that everything works as expected.
     
    Consider Automation:
    If you foresee frequent environment transitions, consider using tools like Power Platform ALM (Application Lifecycle Management) to streamline configuration deployment.
     
    It's crucial to keep the configurations consistent across environments while tailoring specifics like redirect URIs or tenant IDs.
     
     
    Let me know if you'd like more detailed guidance on any of these steps!
     
    😊If this fixes the issue, please mark as resolved to help others with find it.

    Happy to help,
     
    Robu1 | Superuser & Moderator  
  • Ajlan Profile Picture
    235 on at
    @Robu1 Thank you so much for the help.
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at
    Personally, I prefer to create a separate B2C tenant per each Environment
     
    However, technically speaking you can simply create a separate App Registration for each Environment and then re-use the same tenant between DEV/SIT/UAT
     
    Please note:
    • users would be shared between the environments, so basically you can login with the same credentials in the environments - but from a Dataverse perspective, they are their own Contact with their own data
    • do NOT use the same B2C tenant in Production, at a minimum, create 2 B2C tenants (1 for non-prod and 1 for prod)

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
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard