AJ ZAFAR

Architecting intelligence. Delivering impact.

Development & Code Apps3 min read

GitHub Actions for Power Platform are generally available

GitHub Actions for Microsoft Power Platform are now GA, running on Windows and Ubuntu runners. What it means for Power Platform ALM and how I would start.

GitHub Marketplace page for powerplatform-actions with version 0.4.0 marked as the GA release

On Wednesday (30 June) Microsoft announced that GitHub Actions for Microsoft Power Platform are generally available. Until now, the supported way to build CI/CD for Power Platform solutions was the Power Platform Build Tools extension for Azure DevOps. Now the same capabilities are available natively in GitHub workflows.

If your developers already live in GitHub, this removes one of the more awkward conversations in Power Platform ALM: “we need Azure DevOps just for this”.

What was announced

From the Power Platform blog post:

  • General availability of the GitHub Actions for Power Platform, bringing the Build Tools approach to GitHub so workflows can sit with the source code.
  • Windows and Ubuntu Linux runners are both supported at GA.
  • Administrative actions: create, delete, back up, restore and reset an environment.
  • Solution and package actions: pack, unpack, export, import, publish and upgrade a solution, and deploy a package.
  • A “who am I” helper to check that the workflow can authenticate and connect to the target environment.
  • Learning resources: a hands-on lab with sample workflows, and guidance on creating a service principal for GitHub Actions and the Azure DevOps Build Tools.
GitHub Marketplace page for the powerplatform-actions action by Microsoft, with the version picker open showing 0.4.0, GA of powerplatform-actions
The Power Platform actions in GitHub Marketplace, with the GA version selected.Image: Microsoft Learn (CC BY 4.0)

What it means for organisations

Choice of tooling, not a change of approach. The ALM fundamentals stay the same: solutions in source control, unpacked so changes are readable, built into managed solutions and deployed through environments by automation, not by hand. What changes is where the pipeline runs. Teams can now pick GitHub or Azure DevOps based on where the rest of their engineering already happens.

Standardise where you can. I would avoid running both for Power Platform in the same organisation without a good reason. Two pipeline platforms means two sets of templates, two sets of secrets and two things for the CoE to support. If the business apps team uses Azure DevOps and the product teams use GitHub, decide deliberately rather than letting it drift.

Linux runners are a nice bonus. Being able to run on Ubuntu gives more flexibility for hosted runners and fits teams whose other workflows already run on Linux.

Identity is the part to get right. A pipeline that can create, reset and import into environments is powerful, and it needs a proper identity. Use a service principal registered in Azure Active Directory and set up as an application user in each environment, rather than a person’s username and password. Store credentials as GitHub secrets, and scope access per environment so a test workflow cannot touch production.

Create a new app user panel showing an app registration name, a business unit selector and the System Administrator security role
Pipelines should authenticate as an application user backed by a service principal, not as a person.Image: Microsoft Learn (CC BY 4.0)

The tutorial gives the application user System Administrator for simplicity. In real projects I would think hard about which roles the pipeline identity actually needs in each environment, especially production.

Admin actions open up environment automation. Creating and resetting environments from a workflow makes it realistic to spin up a fresh environment for a feature branch or a test run, then throw it away. That needs capacity planning, but it is the kind of thing that used to be a manual ticket.

What I would do now

↑↓ navigateEnter openEsc close