Promoting a power pages site from dev env to qa env via Azure pipeline

Raj 0 Reputation points
2025-05-22T15:31:30.4566667+00:00

Hi,

I'm using Power Page Portal to create websites. I've 2 developer environments, Dev and QA. I have website created on Dev and linked with VSC to local machine via azure pipeline using git repos and power automate flow. I want to manually promote the dev site to QA environment using an azure pipeline. I've tried various techniques like pac paportal download upload within Azure pipelines but none seem to work as I am ending up with duplicate web-pages on QA and the site on QA is breaking. I want a clean approach to be able to promote from Dev --> QA maintaining all environment and site specific settings for the website when its uploaded to QA environment.

Can someone please point me to a direction?

Azure DevOps
{count} votes

1 answer

Sort by: Most helpful
  1. Siva Pavuluri 460 Reputation points Microsoft External Staff Moderator
    2025-05-23T07:18:10.0033333+00:00

    Hi Raj,

    I understand the concern about promoting your Power Pages website from Dev to QA using Azure Pipelines, especially with issues like duplicate web pages and broken sites in QA.

    To ensure a clean and reliable deployment, consider using the enhanced data model and environment variables for all site-specific settings. Add your website and related components to a solution in your Dev environment, then manage environment-specific values using environment variables. This approach allows you to export the solution from Dev and import it into QA without duplicating web pages or breaking the site..enhanced-data-model, environment-variables-for-site-settings
    When the site has been deployed, you can continue to deploy more configuration changes using the same pipeline process. You need to clear the cache on the destination website to see the changes.

    Please refer to the following documents for further guidance:
    https://learn.microsoft.com/en-us/power-pages/configure/power-pages-pipelines
    https://learn.microsoft.com/en-us/power-pages/configure/power-platform-cli-tutorial

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.