FPAC is an early-stage PowerShell project for managing Microsoft Fabric policies as code. Its operations export configured policy rules and Policy Sets, build deployment plans, and apply approved plans to Fabric.
Fabric policies and their REST APIs are preview features. Export and deployment only cover workspaces, Policy Sets, and rules visible to the signed-in identity.
For the staged repository setup, live validation plan, module packaging, documentation site, and CI/CD workflows, see the FPAC implementation and validation roadmap .
Requirements
PowerShell 7.4 or newer.
The Az.Accounts PowerShell module.
A Microsoft Entra identity with access to the selected tenant's Fabric workspaces and Policy Sets.
Fabric delegated API scopes for workspace discovery ( Workspace.Read.All or Workspace.ReadWrite.All ) and Policy Set/rule reads ( Item.Read.All or Item.ReadWrite.All ).
Install/update Az.Accounts if needed:
Install-Module Az.Accounts - Scope CurrentUser
Environments
Define the FPAC environments in…