avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

avd-power-platform

The Power Platform and Power Automate day-2 workflow control plane for deployed AVD estates.

More

Bicep enterprise policies, Power Platform environment governance, and unpacked Power Automate solutions that automate self-service access and day-2 host operations for an estate deployed by avd-landing-zone (decision 0034).

The repo is the source of truth: avd-ops/avd-power-platform. This page says where it fits.

What it does

It provisions Power Platform governance and approval-gated Power Automate flows for the AVD estate.

More
  • Deploys dedicated Power Platform environments ([avd-ops-<prefix>-<env>] AVD Day-2 Automation), strict DLP policies ([avd-ops-<prefix>-<env>] AVD Day-2 Automation Strict DLP Policy), and Bicep Microsoft.PowerPlatform/enterprisePolicies for VNet subnet injection.
  • Packs and imports source-controlled Power Automate solutions (AvdDay2Automation) wired to avd-entra user groups and avd-azure host pools for self-service pool access requests (approved in Microsoft Teams) and an approval-gated session host drain and restart.
  • Deploy-AvdPowerPlatform.ps1 emits power-platform-manifest.json (avd-ops-power-platform-manifest/v1) and records created: true|false per resource in power-platform-run-manifest.json (avd-ops-power-platform-run-manifest/v1).
  • Remove-AvdPowerPlatform.ps1 -DiscardLastCopy deletes only the DLP policy, environment, and enterprise policy created by the run (created: true and matching the [avd-ops-<prefix>-<env>] stamp), leaving pre-existing brownfield objects untouched and gating stateful teardown behind -DiscardLastCopy.
# Azure Cloud Shell (PowerShell)
if (-not (Test-Path ~/avd-power-platform)) { git clone https://github.com/avd-ops/avd-power-platform.git ~/avd-power-platform }
Set-Location ~/avd-power-platform; git checkout -q main; git pull -q --ff-only
./scripts/Deploy-AvdPowerPlatform.ps1 -EntraManifestPath ./entra-manifest.json -AzureOutputsPath ./azure-outputs.json -OutputPath ./power-platform-manifest.json -RunManifestPath ./power-platform-run-manifest.json
./scripts/Remove-AvdPowerPlatform.ps1 -RunManifestPath ./power-platform-run-manifest.json -DiscardLastCopy -WhatIf

How it fits

It wires deterministic tenant workflows to the groups in avd-entra and the host pools in avd-azure.

More
  • Orchestrated by avd-landing-zone after avd-entra and avd-azure complete.
  • Complements avd-swarm: whereas avd-swarm runs agentic reasoning and GitHub-gated plans, avd-power-platform runs deterministic self-service and operator approval flows inside the tenant.

Read more in the repo

The repo has the full detail. Start here:

Linked from 9 pages