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 / ALM for PowerPages - D...
Power Pages
Unanswered

ALM for PowerPages - Different Site Setting (Authentication) per Environment

(0) ShareShare
ReportReport
Posted on by 3,458 Super User 2024 Season 1

Hi all,

 

I have a general question for deploying Power Pages from DEV Environment to STAGE/PROD Environment.

 

We have configured a custom authentication provider (OpenID) in our DEV Environment. In our STAGE/PROD Environment we would like to use a different instance of that authentication provider. Therefore we need to point to different Authority URL, change the Client ID, etc.

 

What would be the recommended way of doing that. Any help is highly appreciated.

 

Thanks in advance.

Categories:
I have the same question (0)
  • TomB91 Profile Picture
    4 on at

    If you use the Power Platform CLI in your deployment process then you can make use of deployment profiles to configure the authentication site settings. You can create a deployment profile for each target environment and include the necessary site settings and overwrite their values accordingly: https://learn.microsoft.com/en-us/power-pages/configure/power-platform-cli#use-deployment-profile

     

    During deployment, you can then set the deploymentProfile switch to use the deployment profile that corresponds to that environment.

     

    I'm afraid I'm not currently aware of a nice way to manage this using "solution aware" power pages deployment (or with the config migration tool) other than to exclude the authentication related site settings from your deployment and then just manually configure them in each environment.

  • masterl1983 Profile Picture
    14 on at
    Are there any updates on this Topic in the meanwhile? What we currently do is to deploy the Powerpage via a solution. The solution also contains the authentication settings. In the PROD Environment we do edit the authentication settings which will then create an unmanged layer. While this works I am not sure if there are better ways.
     
  • Suggested answer
    Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at
    @masterl1983 one way would be to use environment variables for the Site Settings (the authentication provider settings are Site Settings)
     

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