-
Build CI/CD with Azure for Microsoft Power Platform Overall Microsoft Power Platform with Azure DevOps can be viewed here
-
Here is STEP by STEP Guide with screenshots on how to leverage Power Platform with Azure DevOps. Build CI/CD with Azure for Microsoft Power Platform
The guide is located here Step by Step Guide leverage Power Platform with Azure DevOps
- The code block for Azure DevOps Pipeline is in this as follows
Power Platform Export Solution
Solution Name: $(SolutionName)
Solution Output File: $(Build.StagingDirectory)\$(SolutionName)_Unmanaged.zip
Power Platform Unpack Solution
Solution Input File: $(Build.StagingDirectory)\$(SolutionName)_Unmanaged.zip
Target Folder to Unpack Solution: $(Build.SourcesDirectory)\$(SolutionName)\Unmanaged
Publish Artifact: drop
Path to publish: $(Build.SourcesDirectory)\$(SolutionName)\Unmanaged
- Command Line Snippet
cd $(Build.SourcesDirectory)
# Set a per-project email address and username
git config user.email "[email protected]"
git config user.name "Aroh Shukla"
# Navigate to the main branch
git checkout -B main
# Update the local version of a repository from a remote
git pull
# Add all files to the Git repository
git add --all
# Record the changes in the repository
git commit -m "Updated the solution"
# Authenticate against a git repository in a build process
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push origin main