In my previous article [Step by Step] Configure and run pipelines in Power Platform, I covered how to deploy a solution from Development to Target environments using pipelines.

In this article, I will cover how to deploy Power Pages Websites from the Development to Target environments using pipelines.

Scenario:

  • In my Development environment, named Developer Dev, I have a website called ‘Hello World’
  • I need to deploy the Hello World website to my Test environment using Pipelines.

Prerequisites:

To move the Hello World website from Developer Dev environment to Test environment, both the Developer Dev and Test environments need to be switched to Enhanced Data Model.

  • Repeat this step for Test environment.

Once you enable the Enhanced Data Model, you can proceed with pipeline configuration.

Add Power Pages website to solution:

As a first step, in the Developer Dev environment, add the Hello World website to a Dataverse solution as shown below.

  • Connect to Power Pages Portal.
  • Go to Solutions and create a new Solution.
  • Open the solution and add the Hello World website using Add existing > Sites

Configure the Pipeline:

Run the Pipeline:

  • Once you have the Pipeline, run the Pipeline by opening Solution > Pipelines 🚀.
  • In the Pipeline select the Deployment Stage > 🚀Deploy here
  • Finally click Deploy to start the deployment.
  • After successful pipeline run you will see the deployment details like Last deployed.

Validate the deployed site on Target:

As our pipeline ran successfully, let’s validate the deployment by going to Power Pages Portal and selecting Test environment.

  • By default deployed Website will be in inactive state and available under Inactive sites
  • Click on Reactivate and provide new website url.
  • That’s how you deploy websites from development environments to target environments using Pipelines in Power Platform

🙂

Advertisements
Advertisements

Leave a comment