Перейти к содержимому

Microsoft 365 Backup Stats Missing in Graph? Fix Policy ID and Permissions

InfraPulse-Sub

0:00 / 0:00

Microsoft 365 Backup Stats Missing in Graph? Fix Policy ID and Permissions

0 просмотров · 2 недели назад
InfraPulse-Sub
725 подписчиков
0 просмотров · 2 недели назад
Microsoft 365 Backup shows protection data in the admin center, but your Microsoft Graph automation returns 403, empty statistics, or the wrong policy. This walkthrough diagnoses the request, retrieves the canonical backup-policy GUID, grants the least-privileged permission, calls the new policy-statistics function, and reconciles the response with the portal. Microsoft added `getStatisticsByPolicy` to Microsoft Graph beta in September 2026. The function returns a `backupPolicyReport` for one policy and reports protected and unprotected artifacts across completed, in-progress, failed, removed, and offboarding states. You will learn how to: Distinguish a policy display name from its canonical GUID Identify an incorrect v1.0 statistics URL Use the beta `getStatisticsByPolicy` request correctly Grant `BackupRestore-Configuration.Read.All` with least privilege Check delegated `scp` and application `roles` claims safely Interpret every `countStatistics` field Use `lastComputedDateTime` to judge report freshness Reconcile aggregate Graph results with portal failure details Preserve a fallback because beta APIs are unsupported for production use The API is currently available only in the global service. It supports delegated work-or-school and application permissions; personal Microsoft accounts are unsupported. The demonstration uses fictional GUIDs and sanitized counts. Chapters: 00:00 Microsoft 365 Backup statistics are missing 00:38 Reproduce the wrong policy ID request 01:14 Check the BackupRestore permission 01:51 List policies and capture the real ID 02:27 Request policy statistics correctly 02:59 Compare with the enrollment report 03:35 Interpret counts and computation time 04:10 Verify the monitoring runbook Official Microsoft references: Microsoft Graph September 2026 updates: https://learn.microsoft.com/en-us/gra... getStatisticsByPolicy API: https://learn.microsoft.com/en-us/gra... backupPolicyReport resource: https://learn.microsoft.com/en-us/gra... List backup protection policies: https://learn.microsoft.com/en-us/gra... Microsoft 365 Backup compliance reports: https://learn.microsoft.com/en-us/mic... #InfraPulse #Microsoft365Backup #MicrosoftGraph #Microsoft365 #Backup #GraphAPI #SysAdmin #CloudSecurity #Automation #DataProtection