PowerPlatform DevOps Module2
PowerPlatform DevOps Module2
1. Log into dev.azure.com with your credentials and click on your organization in the left panel.
Follow the instructions to create a project. Click Create Project.
7. This will redirect you to the Azure DevOps marketplace. Search for Power Platform and select
the Power Platform Build Tools. Note that there are great community options too.
9. Click ‘Install’.
18. Name the pipeline ‘Create Export from Dev’ and click Save.
20. You are now ready to start using the Power Platform Build Tools tasks for Azure DevOps in your
pipeline. Select ‘Add a task to Agent job 1’.
22. Select ‘Add’ under the Power Platform Tool Installer task.
24. The next task you will add is a task that exports the unmanaged solution from development
environment. Search for ‘Power Platform Export Solution’.
35. Save the Build Pipeline by clicking Save & Queue, then save from the top command bar and
clicking Save on the dialog.
36. Click ‘Add a task’, then search for ‘Power Platform Unpack’.
37. Add the Power Platform Unpack Solution task to the pipeline.
41. Add a Command Line task to your pipeline by clicking the + button, searching for ‘command’, and
adding it.
48. The desired outcome would be a series of green checkboxes, but if you have some issues with your
pipeline, you should see the errors in the log. You can click on those for more details if you like. In
our case, we have not defined our solution name variable yet, so the export step will fail. This was
done intentionally to show you what a failure looks like and how to look at the details.
51. On the pipeline screen, switch to the Variables tab and click ‘Add ‘to add a new variable.
Note: You can get more details about any issues found by setting the variable ‘debug’ to ‘true’.
62. On the pipeline screen, switch to the variables tab in the pipeline and add the SolutionName variable
with your unique solution name. This should be ALMLab if you are using the solution from Module 1.
Click Save (through the Save & Queue dropdown).
66. Click ‘Save’. You will be in the pipeline service connections area in your project.
68. Select the connection you just added to your build server and provide the following for the
solution input file: $(Build.ArtifactStagingDirectory)\$(SolutionName).zip.
71. The files at this stage will be in the build agent and we need to publish it as a build artifact. Add
a new pipeline step Publish Pipeline Artifact.
78. To deploy a build, you will configure a release pipeline. Navigate to the release pipelines. You
likely won’t have one yet, so click on the New pipeline button.
86. Configure the solution import to use the production environment connection and the following
for solution input file:
$(System.DefaultWorkingDirectory)/Build/drop/$(SolutionName)_managed.zip
Click ‘Save’.
88. Click the “Create release” button. This functions like Queuing a build pipeline, only for release
pipelines.
91. For final confirmation, log into your production system and see your application!
Terms of Use
© 2020 Microsoft Corporation. All rights reserved.
By using this demo/lab, you agree to the following terms: The technology/functionality
described in this demo/lab is provided by Microsoft Corporation for purposes of obtaining your
FEEDBACK
If you give feedback about the technology features, functionality and/or concepts described in
this demo/lab to Microsoft, you give to Microsoft, without charge, the right to use, share and
commercialize your feedback in any way and for any purpose. You also give to third parties,
without charge, any patent rights needed for their products, technologies and services to use or
interface with any specific parts of a Microsoft software or service that includes the feedback.
You will not give feedback that is subject to a license that requires Microsoft to license its
software or documentation to third parties because we include your feedback in them. These
rights survive this agreement. MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES
AND CONDITIONS WITH REGARD TO THE DEMO/LAB, INCLUDING ALL WARRANTIES AND
CONDITIONS OF MERCHANTABILITY, WHETHER EXPRESS, IMPLIED OR STATUTORY, FITNESS FOR
A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. MICROSOFT DOES NOT MAKE ANY
ASSURANCES OR REPRESENTATIONS WITH REGARD TO THE ACCURACY OF THE RESULTS,
OUTPUT THAT DERIVES FROM USE OF DEMO/ LAB, OR SUITABILITY OF THE INFORMATION
CONTAINED IN THE DEMO/LAB FOR ANY PURPOSE.
DISCLAIMER
This demo/lab contains only a portion of new features and enhancements in. Some of the
features might change in future releases of the product. In this demo/lab, you will learn about
some, but not all, new features.