Power Platform Deployment using Azure DevOps- Part 2 (Release)

In previous blog, we have successfully created build pipeline. Now let’s create release pipeline.

Part-1 : https://asifwaquar.com/power-platform-deployment-using-azure-devops-part-1/

Step 1 : Go to the release tab and click on the new pipeline.

Step 2 : Choose the build artifacts created in part 1and select azure repository. Choose the project and branch.

Step 3 : Click on add stage and name it release pipeline.

Step 4 : Now let’s add task to release pipeline. Click on 1 job 0 task link.

Step 5 : Search for power platform build tools. First we need to import the solution. To import the solution first we need to install power platform tool then unpack the solution.

Click on 3 dots to provide the solution input file path and provide the target folder path as given below.

$(Build.StagingDirectory)\$(SolutionName).zip

Step 6 : After unpacking, we need to import our solution. Let’s add task to import the solution.

Step 7 : Choose Service Connection for the QA Environment. Provide solution input file path. It will be same as Solution output path of Power Platform unpack solution task.

$(Build.StagingDirectory)\$(SolutionName).zip

Step 8 : Add one more tasks to publish import customisation. Choose QA Service connection and save the pipeline.

Step 9 : Let’s create release by click on button create release.

Choose release option and click create.

Now click on deploy multiple option.

If you are getting issue related to agent pool. Make sure under agent job agent pool is selected.

Step 10: Rerun the release pipeline.

Leave a Reply

Your email address will not be published. Required fields are marked *