SamTech 365

Power Platform, Copilot & SharePoint guides by Samir Daoudi

Power Platform ALM – Create a Pipeline

Create a deployment pipeline in Power Platform pipelines to move solutions from development to test and production with one click.
Power Platform ALM - Create a Pipeline

In the previous post, I covered how we can set up the Power Platform Pipeline solution.

If you missed this post, please visit it using the link below:

Power Platform ALM – Enable Pipelines

 

Now that the Power Platform Pipeline solution is in place, you can navigate to the Model-Driven App of the App Deployment Model App solution.

Power Platform ALM - Create a Pipeline

 

Select Apps, and play the “Deployment Pipleline Configuration” app.

Power Platform ALM - Create a Pipeline – screenshot 2

 

Create your pipeline

Locate the Active Deployment Pipelines widget from the landing page, and click +New.

Power Platform ALM - Create a Pipeline – screenshot 3

 

A right-side panel will appear; populate it by providing a Name, Description and the pipeline owner.

Power Platform ALM - Create a Pipeline – screenshot 4

PS: The pipeline owner will own all the solutions and the respective components deployed with this pipeline.

 

Once you click Save, the new pipeline will appear in your list of Active Deployment Pipelines.

Power Platform ALM - Create a Pipeline – screenshot 5

 

Click on your newly created pipeline, and you will see the following screen:

Power Platform ALM - Create a Pipeline – screenshot 6

Create/ Link the development environment

From this screen, you must link your development environment if you have already used it or add a new development environment.

If you want to add a new development environment, click the “+ New Development Environment”, which will open the following Side Panel:

Power Platform ALM - Create a Pipeline – screenshot 7

Provide a name for your environment,

Select the type (in this context, it will be a Development Environment).

Provide the environment ID.

How do I get the environment ID?

  1. Navigate to your power platform admin center
  2. Click on Environments (from the left side panel).
  3. Click on your chosen environment.
  4. From this page, you can copy the environment ID and use it in the previous step (Add a new Development Environment)

Power Platform ALM - Create a Pipeline – screenshot 8

 

Once you have added or linked your development environment, it should appear in the “Linked Development Environments”

Power Platform ALM - Create a Pipeline – screenshot 9

 

Create the deployment stage

Next, you will need to create at least one deployment stage.

PS: It is possible to have a pipeline with multiple deployment stages (Dev -> QA , QA -> UAT , UAT -> Prod).

Locate the “Deployment stages” container, and click “+ New Deployment Stage”

Power Platform ALM - Create a Pipeline – screenshot 10

Provide a description and details of your deployment stage.

We will also need to link the UAT environment in the same way we have linked the Dev Environment earlier.

Power Platform ALM - Create a Pipeline – screenshot 11

Once created, you can save your deployment stage.

In the example below, i have created three deployment stages.

Power Platform ALM - Create a Pipeline – screenshot 12

At this stage, you can use the pipeline.

How can you use the newly created Pipeline ?

Once you are done with the pipeline definition, follow these steps to run your first deployment with the newly created pipeline:

  • You can navigate back to your development environment.
  • Select your solution
  • You will notice the presence of a new icon on the right-side panel
  • Click on pipelines

Power Platform ALM - Create a Pipeline – screenshot 13

  • Select the pipeline from the dropdown
  • Action the first deployment stage.

Power Platform ALM - Create a Pipeline – screenshot 14

In the next post, I will cover how we can have an approval process pre-deployment.

Related guides

Discover more from SamTech 365

Subscribe now to keep reading and get access to the full archive.

Continue reading