pac admin Administration & Environments
listList all environments from your tenant
createCreate a new Dataverse instance in your tenant
deleteDelete the environment from your tenant
copyCopy source environment to a destination environment
backupTake a manual backup of the environment
restoreRestore an environment to a given backup
list-backupsList all backups of the environment
resetReset the environment from your tenant
statusList the status of all operations in progress
set-backup-retention-periodSet backup retention in days (valid: 7, 14, 21, 28)
assign-userAssign a user to an environment with a specified security role
assign-groupAssign a group to an environment with a specified security role
list-app-templatesList all supported Dataverse templates of model-driven apps in D365
create-service-principalAdd Entra ID application & application user to the environment
list-service-principalList Entra ID applications which have access to Dataverse
set-governance-configEnable, disable, and edit managed environments
set-runtime-stateUpdate environment administration mode
list-tenant-settingsList tenant-level settings
update-tenant-settingsUpdate tenant-level settings
list-groupsList environment groups from tenant
add-groupAdd an environment to a group
list-rolesList security roles from environment
self-elevateSelf-elevate to System Administrator role
application listList Entra ID applications registered under the tenant
application registerRegister Entra ID application with the tenant
application unregisterUnregister Entra ID application from the tenant
dlp-policy listList DLP policies in the tenant
dlp-policy showShow details of a specific DLP policy
pac auth Authentication Profiles
createCreate and store an authentication profile on this computer
listList the authentication profiles stored on this computer
selectSelect which authentication profile should be active
deleteDelete a particular authentication profile
updateUpdate name or target environment of an existing profile
nameName or rename an existing authentication profile
clearClear all authentication profiles stored on this computer
whoDisplay information about the currently selected auth profile
💡 Available in GCC & GCC High via --cloud on auth create. No interactive browser? Add --deviceCode (auto-applied in GitHub Codespaces).
pac env Dataverse Organization (replaces pac org)
listList all Dataverse environments the user has access to
whoDisplay information about the current Dataverse organization
selectSelect default org for current authentication profile
fetchPerform FetchXML query against Dataverse
list-settingsList environment settings
update-settingsUpdate environment settings
💡 pac org is still supported as an alias
pac solution Solution Project Management
initInitialize a directory with a new Dataverse solution project
add-referenceAdd a reference from the project in the current directory to the project at 'path'
listList all solutions from the current Dataverse organization
deleteDelete a solution from Dataverse in the current environment
exportExport a solution from Dataverse
importImport the solution into Dataverse
cloneCreate a solution project based on an existing solution in your org
publishPublish all customizations
upgradeApply solution upgrade
versionUpdate build or revision version for the solution
online-versionSet version for solution loaded in Dataverse
packPackage solution components on local filesystem into solution.zip (SolutionPackager)
unpackExtract solution components from solution.zip onto local filesystem (SolutionPackager)
checkUpload a Dataverse solution project to run against the Power Apps Checker service
create-settingsCreate a settings file from solution zip or solution folder
add-solution-componentAdd one or more solution components to the target unmanaged solution
add-licenseAdd license and plan info to the solution
syncSync the current solution project to the current state of the solution in your org
pac canvas Canvas Apps (.msapp)
listList canvas apps in the environment
downloadDownload canvas app as .msapp file
createGenerate a canvas app from a custom connector
packPack sources into an msapp file Preview
unpackExtract an msapp file into YAML sources Preview
validateValidate the .pa.yaml source for an unzipped msapp file Preview
pac pcf Power Apps Component Framework
initInitialize a directory with a new PCF project
pushImport the PCF project into the current Dataverse organization
versionPatch version for controls
pac plugin Dataverse Plug-ins
initInitialize a directory with a new Dataverse plug-in class library
pushImport plug-in into Dataverse
pac connection Dataverse Connections
createCreate a new Dataverse connection
deleteDelete a Dataverse connection by connection-id
listList all connections (shows Id, Name, API Id, Status)
updateUpdate a Dataverse connection
💡 --json not supported on list; parse Status column with PowerShell
pac connector Custom Connectors
listList the connectors registered in Dataverse
initInitialize a new API Properties file for a connector
createCreate a new row in the Connector table in Dataverse
downloadDownload a Connector's OpenAPI definition & API Properties file
updateUpdate a Connector entity in Dataverse
pac copilot Copilot / Bot Management
listList Copilot Studio agents in the current or target environment
statusPoll deployment status of a specified copilot
createCreate a new copilot using an existing template file
publishPublish a Copilot Studio agent
extract-templateExtract a template file from an existing copilot
extract-translationExtract file containing localized content for bots
merge-translationMerge files containing localized content for bots
init-skillsExtract copilot skill definition files to current directory
mcpInfo about local MCP (Model Context Protocol) server
model listList AI Builder models in current environment
model predictSend text/prompt to an AI Model
pac pipeline Deployment Pipelines
listList all pipelines in the environment
deployStart a pipeline deployment
pac data Import / Export Data
exportExport data (uses Configuration Migration tool)
importImport data (uses Configuration Migration tool)
⚠ .NET Full Framework version only
pac package Package Deployer
initInitialize a directory with a new Dataverse package project
add-external-packageAdd package external to Dataverse solution system to a Package Deployer project
add-solutionAdd prebuilt Dataverse solution file to a Package Deployer project
add-referenceAdd reference to Dataverse solution project
deployDeploy package to Dataverse (.NET Full Framework only)
showShow details of Dataverse package (.NET Full Framework only)
pac pages Power Pages — Content Sync (replaces pac powerpages)
listList all Power Pages websites from the current environment
downloadDownload Power Pages website content from the environment
uploadUpload Power Pages website content to the current environment
migrate-datamodelManage data model migration for your Power Pages website
bootstrap-migrateMigrate HTML code from Bootstrap V3 to V5
cloneCreate website content from existing content
download-code-siteDownload Power Pages website content from environment
upload-code-siteUpload compiled code to Power Pages site
💡 pac paportal and pac powerpages still work as aliases. For site admin (WAF, custom domains, certs, security scans) see the new pac power-pages group below
pac catalog Catalog Management
listList all published catalog items from the current environment
installInstall a catalog item to the target environment
submitSubmit catalog approval request
statusGet status of the catalog install/submit request
updateUpdate settings for the catalog
create-submissionCreate catalog submission document Deprecated
pac application Marketplace Apps
listList available Dataverse applications from Microsoft Marketplace/AppSource
installInstall or update a Dataverse application to a target environment
pac modelbuilder Code Generator Deprecated
buildBuild a code model for Dataverse APIs and Tables (early-bound class generation)
pac power-fx Power Fx Preview
replLaunch interactive Power Fx Read-Eval-Print Loop Preview
runRun a file of Power Fx instructions Preview
pac test Automated Testing Deprecated
runExecute tests defined in a Test Plan file Preview
pac telemetry Telemetry Settings
enableOpt-in to sending usage information to Microsoft
disableOpt-out of sending usage information to Microsoft
statusShow the current status of telemetry
pac tool Power Platform Tools (.NET Full Framework only)
listList the launchable tools and their local install state and version
adminLaunch Power Platform Admin Center for the current environment
makerLaunch Power Apps Maker Portal for the current environment
prtLaunch Plug-in Registration Tool (PRT)
cmtLaunch Configuration Migration Tool (CMT)
pdLaunch Package Deployer (PD)
init-skillsExtract PAC CLI AI skill definition files to a local folder New
xpp installDownload and install the X++ compiler for the active environment New
xpp listList X++ SDKs installed on this machine New
xpp uninstallRemove an installed X++ SDK and its registration New
pac model Model-driven Apps Preview
listList all model-driven apps in the environment Preview
createCreate a new model-driven app Preview
list-languagesList enabled languages in the environment Preview
genpage listList all generated pages in an app Preview
genpage downloadPull generated pages from a model-driven app Preview
genpage uploadUpload and publish generated page to an app Preview
genpage generate-typesGenerate TypeScript schema definitions Preview
genpage transpileTranspile TypeScript file for testing/debugging Preview
pac code Code Apps Preview
initInitialize a Code app in current directory Preview
listList code apps available in current environment Preview
pushPublish a new version of the Code app Preview
runRun local server for connections loading locally Preview
add-data-sourceAdd a new datasource to the app Preview
delete-data-sourceDelete a data source from current app Preview
list-connection-referencesList connection references in environment/solution Preview
list-datasetsList datasets accessible by provided connector Preview
list-tablesList tables accessible by connector/dataset Preview
list-sql-stored-proceduresList stored procedures for SQL connection/dataset Preview
⚠ Will be deprecated — the npm-based Power Apps CLI (pa, package @microsoft/power-apps-cli; the older power-apps binary was removed at GA) is the replacement: pa app init / run / push, pa app add data-source, and pa-only features such as pa app add flow, pa app add dataverse-api, pa connection create and pa app share. See the Code Apps cheat sheet. add-data-source gained -cr/-s connection-reference flags in v1.51.1 (Dec 2025). See npm quickstart
pac managed-identity Managed Identity Preview
createCreate and link managed identity to a Dataverse component Preview
getShow managed identity linked to a component Preview
updateUpdate tenant or application identifiers Preview
deleteRemove managed identity linked to a component Preview
configure-ficCreate federated identity credential on managed identity Preview
show-ficShow computed federated identity credential Preview
verify-ficVerify whether federated identity credential exists Preview
upgrade-versionUpgrade managed identity to latest version Preview
pac copilot-studio Agent Admin Preview (new)
get-bot-quarantine-statusRetrieve the quarantine status of a bot
set-bot-as-quarantinedQuarantine an agent (e.g. after a security finding)
set-bot-as-unquarantinedLift quarantine on a bot
reassign-copilot-agentReassign the owner of an orphaned/offboarded-user agent
delete-copilot-agentDelete a bot
get/set-connector-consent-bypassGet/set admin connector consent bypass for a bot
run-maker-evaluation-test-setTrigger an agent evaluation test run against a test set
list/get-maker-evaluation-test-setsList/get agent evaluation test sets
list/get-maker-evaluation-test-runsList/get evaluation test run results
download-agent-channel-manifestDownload the M365 channel manifest package for an agent
🤖 Admin-side agent governance: quarantine/reassign/delete a bot, plus maker evaluation test runs — distinct from pac copilot (bot authoring/publishing)
pac analytics Advisor Recommendations Preview (new)
get-recommendationsList Power Platform advisor recommendations for the tenant
get-recommendation-scenariosList recommendation scenario names
get-recommendation-resourcesList resources affected by a recommendation
get-scenario-actionsList allowed remediation actions for a recommendation
execute-recommendation-actionExecute a remediation action on flagged resources
get-action-schemaGet the parameter schema for a remediation action
pac governance Rule-Based Policies & Cross-Tenant Reports Preview (new)
list-rule-based-policiesList rule-based data policies available in the tenant
create-rule-based-policyCreate a rule-based policy with rule sets and metadata
get-rule-based-policy-by-idGet policy details by ID including rule sets
patch-rule-based-policyAdd or update one or more rule sets on an existing policy
create-environment(-group)-rule-based-assignmentAssign a policy to an environment or environment group
list-rule-assignmentsList policy assignments tenant-wide (also by env / env-group / policy)
create-rule-set / get-rule-setCreate/get a Rule Set scoped to an environment group
create-cross-tenant-connection-reportGenerate a cross-tenant connection report
list/get-cross-tenant-connection-reportsList or fetch cross-tenant connection reports
💡 19 commands total — full CRUD on rule sets, policies, and assignments by environment/group/policy. Full reference: learn.microsoft.com/.../reference/governance
pac authorization RBAC Role Assignments Preview (new)
list-role-definitionsList available RBAC role definitions
list-role-assignmentsList role assignments (tenant scope)
create-role-assignmentCreate a role assignment for a principal
delete-role-assignmentDelete a role assignment by ID
create/list/delete-environment-role-assignmentSame operations scoped to one environment
create/list/delete-environment-group-role-assignmentSame operations scoped to an environment group
pac user-management Admin Role Assignment Preview (new)
apply-admin-roleApply the Power Platform System Administrator role to a user
pac environment-management Lifecycle, DR & SKU Preview (new)
provision-new-environmentProvision a new environment (SKU, location, templates, currency)
delete-environment-by-idDelete an environment by ID
recover-environmentRecover a recently deleted environment
copy-environmentCopy source environment to a target (Minimal or Full copy)
create/restore-environment-backupCreate a manual backup, or restore to a previous backup
enable/disable-managed-environmentToggle Managed Environment governance
enable/disable-disaster-recoveryToggle DR (paired-region) on an environment
perform-force-failover / perform-failbackFail over to the paired DR region, or fail back to primary
perform-dr-drillRun a non-disruptive DR drill
modify-environment-skuChange environment SKU (Standard/Premium/Developer/Trial/…)
create/list/update/delete-environment-groupManage environment groups (containers for group-level policy)
list-environments-for-userList environments available to the authenticated user (OData filter/sort)
💡 40 commands total — supersedes much of pac admin for lifecycle ops with a richer API (validate-only dry-runs, provisioning templates/currencies/locations). Full reference: learn.microsoft.com/.../reference/environment-management
pac dynamics Finance & Operations Envs Preview (new)
get-fin-ops-propertiesGet F&O env properties (AOS counts, deployment type, demo dataset)
get-fin-ops-versionsList available F&O application versions
apply-fin-ops-versionApply an F&O application version to an environment
get/update-fin-ops-maintenance-settingsView/update the maintenance window cadence
get-fin-ops-operation-errorsRetrieve recent F&O operation errors
pac app-management D365 App Packages Preview (new)
get-tenant-application-packageList Dynamics 365 app packages available to the tenant
get-environment-application-packageList packages available/installed for a target environment
install-application-packageInstall an app package by unique name into an environment
get-application-package-install-statusPoll install progress by operation ID
pac licensing Entitlements, Capacity & Billing Preview (new)
get-tenant-capacity-detailsGet overall tenant capacity details
get-many-environment-entitlementsGet entitlements for the tenant broken down by environment
list-currency-reportsGet the tenant currency (allocations/consumption) report
get/update/patch-allocations-by-environmentGet or change currency allocations & enforcement rules per environment
list/create/update/delete-billing-policyManage tenant-level billing policies (pay-as-you-go)
add/remove-billing-policy-environmentLink/unlink environments to a billing policy
list/create/update/delete-isv-contractManage ISV pay-as-you-go contracts (cloud/desktop flow runs)
get-fin-ops-license-summary-v2Get the tenant's FinOps license summary
list-storage-warningsList storage warning thresholds by category
get-tenant-resource-consumption-by-userDrill into per-user resource consumption for an entitlement
💡 44 commands total — also covers per-flow capacity source drill-down (user/tenant context summaries) and resource consumption thresholds. Full reference: learn.microsoft.com/.../reference/licensing
pac power-apps Admin Governance Preview (new)
get-admin-appsList Power Apps across an environment for admin review
get-admin-appGet details of a specific Power App by name
💡 Read-only admin inspection — distinct from pac canvas (download/pack/unpack app source)
pac power-automate Admin Governance Preview (new)
list-cloud-flowsList cloud flows in an environment (filter by owner/date)
list-flow-actionsList actions/triggers used within a flow
list-flow-runsList run history for a flow
pac connectivity Connectors & Connections Preview (new)
list-connectorsList connectors available in an environment
get-connector-by-idGet details of a specific connector
list-connectionsList maker connections in an environment
💡 Read-only admin listing — distinct from pac connection (create/update/delete a connection) and pac connector (custom connector CRUD)
pac resource-query Tenant-Wide KQL Preview (new)
query-resourcesRun a KQL query against Azure Resource Graph across environments/apps/flows (with paging)
pac workflows-agent DSR Export/Delete (Privacy Compliance) Preview (new)
get-flowsExport flows owned by the calling user (DSR export)
delete-flowDelete an M365 Copilot workflow for DSR compliance
get-connections / delete-connectionExport or delete a user's connections
get-approvals / delete-approvalExport or delete approval records
get-prompts / delete-promptExport or delete AI model prompt records
get-flow-runs-singleton / -non-singletonExport flow run records for DSR (per-user or per-environment)
get-run-history-data(-non-singleton)Export run history customer data for a specific flow run
🔒 Fulfills GDPR/DSR (Data Subject Request) export & delete obligations for Power Automate and M365 Copilot agent data — relevant to any governance-at-scale conversation
pac power-pages Site Admin — WAF, Certs & Domains Preview (new — not pac pages)
get-websites / get-website-by-idList all sites in an environment, or get one by ID
create-website / delete-websiteCreate a site from a template, or delete one by ID
start / stop / restart-websiteControl the site's running state
enable/disable-wafToggle the Web Application Firewall for a site
get-waf-status / get-waf-rulesCheck WAF status, or list managed/custom WAF rules
update-waf-policy-settingsSet enforcement mode (Prevention/Detection) and challenge cookie lifetimes
create-custom-domainAdd a custom hostname to the site
upload-certificateUpload an SSL/managed certificate (.pfx) for the site
add-ssl-binding-by-portalBind an uploaded certificate to a custom domain hostname
start-quick-scan / start-deep-scanRun a security scan against the site
get-security-scan-score / get-security-scan-reportGet the scan score or full findings report
add/remove-allowed-ip-addressesManage the site's IP restriction allow list
convert-trial-to-productionConvert a trial site to production (optionally enabling CDN/WAF)
💡 38 commands total — site-level admin API (firewall, TLS, IP allow-listing, security scans, break-glass exceptions). Not the same group as pac pages above (which syncs website content/data model). Full reference: learn.microsoft.com/.../reference/power-pages