It is a pull API, though, not a pipeline. It doesn't schedule itself, store data for you or send it anywhere. If you've used Monitor's 30-day view, you know the problem it fixes. If you were hoping for automatic delivery, you still have to build that part yourself.
What Microsoft announced
The feature is roadmap ID 581784 and is marked "In development." Preview was listed for November 2026, with general availability targeted for February 2027 in the Worldwide (Standard Multi-Tenant) cloud. Roadmap dates are estimates and can change.
The matching Message Center post, MC1575232, says Microsoft is announcing the ability for tenant admins to export Monitor metrics from the Power Platform admin center or the Microsoft admin center through a new Power Platform API endpoint or the Power Platform CLI (PAC CLI). According to that notice, this feature reached public preview by November 30, 2026.
Microsoft's October/November Power Platform feature update gives three reasons to use it:
- Longer history. Admins can retain them in your own storage beyond monitor's 30-day retention window, building historical dashboards that reveal long-term trends.
- Shared reporting. Teams can combine the metrics with their own business and operational data, and share dashboards with colleagues who don't have admin center access.
- Existing tools. With data exported in OpenTelemetry format, you can bring monitor insights into analytics tools such as Azure Data Explorer, Splunk, and Datadog.
In short: this is a preview of daily metric exports for tenant admins. General availability is planned for early 2027.
Copilot Managed Runtime apps have their own documentation
The roadmap entry lists four groups of supported resources:
- Power Apps: canvas, model-driven and code apps
- Power Automate: cloud and desktop flows
- Copilot Studio agents
- Copilot Managed Runtime apps
The main Power Platform Learn article lists these API identifiers:
| Product | Types | resourceType | resourceSubType |
|---|---|---|---|
| Power Apps | Canvas, model-driven, code apps | PowerApp | CanvasApp, ModelApp, CodeApp |
| Power Automate | Cloud and desktop flows | PowerAutomate | CloudFlow, DesktopFlow |
| Copilot Studio | Agents | CopilotStudio | Agent |
Copilot Managed Runtime apps don't appear in that table. A separate Microsoft 365 admin Learn page covers them. It says the API supports all metrics for Copilot Managed Runtime apps in Monitor. Its example request uses resourceType/MicrosoftApp/resourceSubType/App in the same monitoringhub route.
If you're scripting exports for both Power Platform resources and Copilot Managed Runtime apps, use the identifiers from the page that covers that product. This also explains why the roadmap says the export works from either the Power Platform admin center or the Microsoft 365 admin center.
What you get, and what you don't
The export returns daily aggregates only. You don't get hourly data, real-time data or anything from the current day. Logs, recommendation text and records of triggered alerts are also excluded. Configuring an hourly alert does not produce hourly exports.
The documented metric names include:
- Canvas apps:
powerapps.app_launch(app-open success rate),powerapps.app_launch_count,powerapps.data_requests,powerapps.data_requests_latency,powerapps.time_to_interactive,powerapps.time_to_full_load - Model-driven apps:
powerapps.app_launch,powerapps.app_launch_count - Code apps: the canvas set without time to full load
- Cloud flows:
cloudflow.run,cloudflow.exection_time,cloudflow.runCount. The misspelling "exection" is how the prerelease documentation currently writes this identifier. Use it exactly as documented, and recheck it before GA in case it changes. - Desktop flows:
desktopflow.run,desktopflow.completion_time,desktopflow.runCount,desktopflow.time_in_queue,desktopflow.queueErrors - Copilot Studio agents:
copilotstudio.agent_session,copilotstudio.agent_session_count
Microsoft also warns against treating daily totals as raw data:
- Averaging seven daily P75 values does not give you a weekly P75.
- Averaging success rates without their denominators produces wrong numbers.
- Missing data points should not be read as zero.
Request limits
Each call is narrowly scoped. Each request takes 1–10 distinct IDs, and every resource must belong to the selected environment and product/type. Use the environment ID, not its display name. Environment-wide export and tenant-wide unfiltered requests aren't supported.
For dates, data must be at least one day old and within the last 30 days of the export date. Dates use YYYY-MM-DD. The start date is included and the end date is not, so a request for 2026-10-20 to 2026-10-27 returns seven days: October 20 through 26.
Microsoft also says that exporting the same resources twice on the same day returns the same data. Plan to export each day's data once.
In practice, a tenant with 45 canvas apps across three environments needs at least five requests, more if any environment holds over ten apps. Add the paging calls on top of that.
Prerequisites
- A tenant admin account authorized to use the Power Platform API. Environment admin support is planned but not available during preview. MC1575232 also says during public preview, only tenant admins will be able to perform the export.
- Tenant-level analytics turned on in the Power Platform admin center so Monitor has data to export.
- A bearer token from a supported Power Platform API authentication flow, with the permissions listed in the Power Platform API permission reference.
- The environment ID, product and type identifiers, and an explicit list of resource IDs.
- A protected place to store the exports, plus a plan for scheduling, retries, retention and access.
How to run an export
The route is a single REST endpoint:
POST [url]https://api.powerplatform.com/monitoringhub/environments/[/url]{environmentId}/resourceType/{resourceType}/resourceSubType/{resourceSubType}/exports/metrics?api-version=1
The JSON body has a root-level resourceIds array, a timeRange object with startDate and endDate, and an optional metricNames array. If you leave out metricNames, you get all metrics for that resource type.
- Pick completed days. Choose dates inside the 30-day window and leave out today. Data isn't necessarily ready right after midnight because of processing time, so confirm the latest complete day before scheduling.
- Get a token. Request a bearer token as an authorized tenant admin.
- Send the first POST without an
x-ms-continuationheader. - Save each page to staging storage. A valid page contains a
resourceMetricsOTLP envelope. - Follow the continuation header. If the response has a non-empty
x-ms-continuationvalue, send the same request again with that value in the header. Repeat until the header is missing or empty. Keep the route and body unchanged throughout, and don't log or reuse continuation tokens. - Check coverage. Finishing pagination only means you have every page. It doesn't prove every resource or day was included. Compare what came back with what you asked for, then confirm the data arrived in your destination.
When handling the OTLP payload, keep timestamps in their original decimal-string form rather than replacing them with ingestion time. Don't convert asInt values through floating-point types, which can lose precision.
How PAC CLI fits in
The headline says "API or PAC CLI," but the Power Platform documentation is more specific. Microsoft's sample PowerShell script, Export-MonitorMetrics.ps1, uses PAC CLI only to sign in:
- It selects a PAC auth profile with
pac auth select. - It gets a bearer token with
pac auth token. - It calls the REST endpoint with
Invoke-WebRequest.
The sample assumes PowerShell 7.6.x and PAC CLI 2.13.x or later, because the token command must be available. The English documentation does not show a separate pac export command. It also says PAC CLI isn't required: any client that can make authenticated REST calls will work. Teams using Python, an Azure Function or a scheduled automation host can skip PAC entirely.
The sample script checks the date format, duplicate GUIDs and the 30-day window. Microsoft notes these checks don't confirm the service's exact minimum-age cutoff, your authorization, or whether a resource belongs to the environment.
Why it's useful, and the caveats
Many organizations rely on Power Platform apps and flows without much long-term visibility. Monitor's rolling 30-day view is fine for daily checks. It doesn't help when someone asks whether a desktop flow's queue times have been getting worse since spring. Exporting to OpenTelemetry lets you analyze Monitor data alongside deployment history and other service telemetry instead of in a separate silo.
The caveats are real:
- It's preview. Microsoft labels the documentation prerelease and subject to change, and preview features aren't intended for production use. Recheck identifiers, permissions and behavior before relying on it.
- You build the rest. Exports don't schedule themselves, provision storage, deliver data or extend Monitor's 30-day retention. MC1575232 notes that admin workload increases moderately due to setup of analytics, storage and export scheduling.
- Integrations may need work. Microsoft says OpenTelemetry output doesn't guarantee automatic or configuration-free import into Datadog, Splunk or anything else. You may need a receiver, exporter or transformation step, and you should check whether the destination accepts historical timestamps and backfill.
- Missed days are gone. Export can't recover data that has already aged out of Monitor. If your scheduler fails for a month, that month is lost.
- Access doesn't carry over. Giving colleagues access to an exported copy doesn't give them access to Monitor, the admin center or the export API. Your destination's permissions and retention rules apply, so set them deliberately.
Preparation checklist
- Turn on tenant-level analytics if it isn't already on.
- Build an inventory of environment IDs and resource IDs by product and type, including Copilot Managed Runtime apps under their own identifiers.
- Split the inventory into batches of no more than ten IDs.
- Choose storage and decide on access controls and retention before the first export.
- Schedule one run per day for the most recent completed day, with retries and alerts on failure.
- Pilot with a few resources, check the output against Monitor, and confirm your observability tool handles historical OTLP data correctly.
Microsoft's GA target is February 2027. The preview gives tenant admins time to test the API and build the scheduling and storage around it before then.
References
- Microsoft Power Platform governance and administration: Export Monitor metrics via API or PAC CLI Microsoft 365 Roadmap · 2026-12-01T23:59:32.928644Z
- Export Monitor metrics with the Power Platform API - Power Platform | Microsoft Learn learn.microsoft.com
- Export Monitor metrics with the Power Platform API - Microsoft 365 admin learn.microsoft.com