Exercise - Create and run a pipeline
In this exercise, you create and run a pipeline in Microsoft Power Platform to deploy a solution from a development environment to a test environment.
Scenario
You create a canvas app in a dedicated development environment and want to share it with a group of testers who can provide feedback about it. The testers allocate an environment for user acceptance testing (UAT). Your manager asks you to share the solution that contains the app after normal business hours.
Exercise steps
The following exercise takes you through the steps to create and run a pipeline.
Preparation
Create or identify an unmanaged Microsoft Power Platform solution that contains a canvas app (or any other standalone component) in an environment where you have permission to create Microsoft Power Platform components that typically require System Customizer or similar permission. For this exercise, you use a solution named Pipeline Demo Solution. You can replace this name with the solution that you plan to work with.
Create or select two Microsoft Power Platform environments, as follows:
- A source environment, such as a Developer environment
- A target environment that can represent the user-acceptance test environment, such as a UAT environment that has Managed Environment available
Exercise
In Power Apps Studio, select the source environment, and then access the Solutions section in the left navigation pane. The solution browser area has two options for you to access the pipeline management area:
- Select the unmanaged solution to deploy, and then select Deploy in the upper menu.
- Select Pipelines in the left menu.
The pipeline management area has two options for creating a new pipeline:
- Select Create pipeline from the upper menu.
- Select Create new pipeline below the Pipeline dropdown list.
Provide a name, such as Demo Deployment to UAT, and an optional description. Then, select the target environment where you want to deploy the managed solution.
After you save the pipeline, you can use it to deploy a solution by selecting Deploy from the Solutions section, as previously described. After you select that pipeline from the dropdown list, select Deploy here.
To select the location and time of the deployment, follow these steps:
- Select the target environment, such as UAT environment.
- Schedule the deployment for a specific date and time, such as today's date at 8:00 PM.
- Select Next.
If connections are in the solution, you can make adjustments to the accounts that you want to use with these connections. Finally, when the system presents an AI-generated summary for validation, select Deploy to complete the deployment request process.
After the deployment completes, a status message displays in the target environment tile to confirm successful completion.
Next steps
You now learned how to create and run a pipeline in Microsoft Power Platform to deploy a solution from one environment to another. Next, you learn how to share a pipeline with other users from your organization.