Inventory data export ends: move to the Power Platform inventory API
- Published
- Author
- Lloyd Sebag
- Type
- Chronicle

If your governance reports read Power Apps and Power Automate inventory from a data lake filled by the Power Platform admin center, that feed stops this week. Data export (preview) no longer sends inventory data after December 1, 2026, and Microsoft points to the Power Platform inventory API as the replacement. This article explains what stops and what keeps running, how the inventory API works, which fields have no equivalent, and how to rebuild a scheduled export.
What stops, and what keeps running
Data export (preview) is the admin center feature that pushes Power Apps and Power Automate inventory and usage data to an Azure Data Lake Storage Gen2 account. Many Center of Excellence dashboards and custom Power BI reports read from it. According to the deprecation notice, the feature is retired in phases:
| Export | As of November 2026 |
|---|---|
| Inventory data | No longer exported after December 1, 2026 |
| Usage data | Continues for now; retired later, with advance notice |
| Environment data | Continues for now; retired later, with advance notice |
| Data already in your lake | Stays there |
The wording differs slightly between pages: the deprecation list says inventory export is unavailable "after December 1", while the self-service analytics page says it "stops on December 1". In practice, treat the last daily push as possibly arriving on November 30 and plan your reports accordingly. The same page says to expect another notification from Microsoft when the inventory export actually stops.
Nothing breaks loudly: your storage account keeps its files, and your reports keep refreshing. They simply stop seeing new apps, new flows and changes made after the cut-off. A stale inventory is worse than a missing one, because nobody notices it. Add a visible "data as of" date to your reports now if they don't have one.
The replacement: inventory over Azure Resource Graph
The Power Platform inventory is the unified list of agents, apps, flows, Power Pages sites (preview), connectors, environments and environment groups that you see under Manage > Inventory in the admin center. Behind it sits a table named PowerPlatformResources in Azure Resource Graph. Microsoft states that created, updated or deleted resources appear within 15 minutes, which is much fresher than the daily push of data export.
You can read that table in four ways:
- the Power Platform API, with a POST to
/resourcequery/resources/query?api-version=2024-10-01; - the Query Power Platform resources action of the Power Platform for Admins V2 connector, in Power Automate;
- the PAC CLI, with the preview command
pac resource-query query-resources --body @query.json; - Azure Resource Graph itself (portal, Azure CLI, PowerShell or REST), with KQL.
It covers more than data export ever did: code apps, vibe apps, agent flows, Copilot Studio agents and connector usage per resource are all in the schema. It also covers less, as the next section shows.
Who can read it
Access is controlled by Microsoft Entra roles, not by Power Platform role-based access control. Global administrator, Power Platform administrator, Dynamics 365 administrator and Global reader see everything. AI administrator and AI reader see only agents, agentic apps, agent flows, environments and environment groups. If your organization enforces MFA on Azure Resource Manager through Conditional Access, the inventory page warns that the inventory might not load until the admin center application is included in that policy.
The fields you lose
Before you rewrite anything, read the field mapping published by Microsoft. It is the most useful page of this migration. The inventory API covers the core: identifiers, display names, owner and creator object IDs, environment, creation and modification dates, quarantine state, connectors and operations used, and flow triggers. The following data export properties have no equivalent:
- app description and app links (app URI, icon, SharePoint form URL);
- sharing: the number of users and groups an app is shared with;
- an explicit deletion indicator;
- solution association and ALM mode;
- DLP evaluation status, date and violations;
- app configuration and presentation settings (embedding host, featured or hero app…);
- bypass-consent setting and app pass eligibility;
- explicit indicators for on-premises gateway, Dataverse table, custom API and premium connector usage.
Some others come back in a different shape. The owner is an Entra object ID, without a display name, so you need a join with Microsoft Graph or your HR data to show names. The premium flag is no longer on the app: you read the tier of each connector record and join it to the connectors used by the resource. And properties.isQuarantined is not a deletion flag; Microsoft warns against using it that way.
Three limits from the schema matter for reports that count connector usage:
- tabular connectors bound as data sources (SharePoint, Dataverse, SQL Server, Excel Online) appear with an empty
operationsarray; - built-in Power Automate actions, including the HTTP action, are not connectors and don't appear at all, so a flow that calls an external API through HTTP shows no connector for that call;
- for model-driven apps, connector usage is attached to the embedded canvas page record, not to the app.
If one of your reports depends on sharing counts or DLP violations, there is no drop-in replacement today. Decide with its owners whether the report is still needed, whether another source covers it (DLP policies and environment settings have their own APIs), or whether the column simply disappears.
Querying: the request body
The inventory API does not take a raw KQL string. It takes a JSON query specification that it translates to KQL: a TableName, a list of Clauses (where, project, extend, join, summarize, orderby, take, distinct, count) and paging Options. Here is a body that lists cloud flows and canvas apps with their environment name, in the shape described by the API reference:
{
"TableName": "PowerPlatformResources",
"Options": { "Top": 1000, "Skip": 0, "SkipToken": "" },
"Clauses": [
{
"$type": "where",
"FieldName": "type",
"Operator": "in~",
"Values": ["'microsoft.powerapps/canvasapps'", "'microsoft.powerautomate/cloudflows'"]
},
{
"$type": "extend",
"FieldName": "joinKey",
"Expression": "tolower(tostring(properties.environmentId))"
},
{
"$type": "join",
"JoinKind": "leftouter",
"RightTable": {
"TableName": "PowerPlatformResources",
"Clauses": [
{ "$type": "where", "FieldName": "type", "Operator": "==", "Values": ["'microsoft.powerplatform/environments'"] },
{ "$type": "project", "FieldList": ["joinKey = tolower(name)", "environmentName = properties.displayName", "environmentType = properties.environmentType"] }
]
},
"LeftColumnName": "joinKey",
"RightColumnName": "joinKey"
},
{
"$type": "project",
"FieldList": [
"name", "type", "location",
"displayName = tostring(properties.displayName)",
"ownerId = tostring(properties.ownerId)",
"createdAt = properties.createdAt",
"lastModifiedAt = properties.lastModifiedAt",
"environmentName", "environmentType"
]
}
]
}
Note the quotes inside the Values strings: they are KQL literals, so 'microsoft.powerapps/canvasapps' keeps its single quotes. The response holds totalRecords, count, data and a skipToken. Pass the token back in Options.SkipToken until it is empty to read the whole inventory.
If you prefer plain KQL, the sample queries run directly in Azure Resource Graph Explorer. For example, to find every resource that uses a given connector before a deprecation:
PowerPlatformResources
| where type in ("microsoft.powerapps/canvasapps", "microsoft.powerautomate/cloudflows", "microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| mv-expand connector = properties.powerPlatformConnectors
| where tostring(connector.connectorId) == "shared_sharepointonline"
| project resourceName = tostring(properties.displayName), resourceId = name, type,
environmentId = tostring(properties.environmentId)
The catch: delegated authentication only
This is the point that will shape your design. The inventory query action of the Power Platform API and of the Power Platform for Admins V2 connector only supports delegated user authentication. A service principal or a managed identity gets HTTP 403 Forbidden, as stated in both the API page and the inventory page. The general authentication article describes a service principal flow with RBAC roles for the Power Platform API; it does not apply to the inventory query.
Microsoft's own guidance for a recurring export is to schedule an Azure Function, a Logic App or an Azure Automation runbook that queries the API and writes the result to Blob Storage or Data Lake Storage. With the delegated-only constraint, that leaves a few realistic patterns:
- A Power Automate flow with the Power Platform for Admins V2 connector, on a recurrence trigger, using the connection of a dedicated admin account (the inventory page lists Global reader among the roles that see every resource). It writes the pages of results to a storage account or to a Dataverse table. This is the simplest option.
- A script run by a person, for example a weekly PAC CLI run with
pac resource-query query-resources, when the report does not need daily freshness. - Azure Resource Graph directly, from your own tooling. The documentation shows the queries but does not say whether an application identity can read
PowerPlatformResourcesthrough Azure Resource Graph. Test it in your tenant before you build on it, and do not assume it.
Whichever pattern you choose, a dedicated account that holds an admin role and signs in non-interactively must be reviewed with your security team: it needs a Conditional Access policy that fits, a credential rotation plan and monitoring. Do not use a named administrator's personal account.
A migration checklist
- List the consumers. Find every report, dataflow and pipeline that reads the inventory folders of your data export storage account. Usage and environment folders keep updating; only inventory is affected.
- Freeze a snapshot. Copy the last inventory export before December 1 so you can compare old and new figures later.
- Map each column. Use the Microsoft field mapping and mark every column as available, different or gone. Agree with report owners on the gone ones.
- Choose the extraction pattern (flow, script or Azure Resource Graph) and the identity that runs it.
- Rebuild the model. Change joins from the old
resourceIdto the new identifiers: for model-driven apps, correlate withproperties.environmentIdplusproperties.appModuleId, because the top-levelnameis not the oldresourceId. - Run both in parallel on the last snapshot, check the counts by type and environment, then switch the reports.
- Add the "data as of" date to every report, using the extraction time.
Key takeaways
- After December 1, 2026, data export (preview) no longer sends inventory data. Usage and environment exports continue for now, but they will be retired later too.
- The inventory API is fresher and covers more resource types, but sharing, DLP evaluation, solution and ALM information and several app settings have no equivalent.
- The inventory query only accepts delegated user tokens. Plan the identity that runs your scheduled export before you write any code.
- Start from Microsoft's field mapping: it tells you in ten minutes which of your reports survive unchanged.
Researched and drafted with AI assistance, then reviewed, edited and published by a human.
Sources
- Important changes (deprecations) coming in Power Platformlearn.microsoft.com
- Set up self-service analytics to export inventory and usage data (preview)learn.microsoft.com
- Data export migration: Power Platform inventory API field mappinglearn.microsoft.com
- Power Platform inventory APIlearn.microsoft.com
- Power Platform inventorylearn.microsoft.com
- Power Platform inventory schema referencelearn.microsoft.com
- Power Platform inventory sample querieslearn.microsoft.com
- Programmability and Extensibility - Authenticationlearn.microsoft.com