Skip to content

OneDrive List

The question it answers: Which OneDrives exist, who owns them, how much storage do they use and do they allow external sharing?

Where in the appOneDrives › All OneDrives
WorkloadOneDrive
KindTable
DataRead from Microsoft 365 when someone first opens it, then kept for the report cache lifetime (Settings > Data & cache, 1 hour unless changed). It reads through PowerShell (Exchange Online or SharePoint Online), so the first load takes longer than a Graph report.
LicenceNo extra licence needed.
Report id (API and MCP)onedrive.drives.all
ColumnKeyType
TitleTitleText
OwnerOwnerText
Storage Usage (GB)StorageUsageGbText
Storage Quota (GB)StorageQuotaGbText
External SharingExternalSharingText
UrlUrlText
Sharing CapabilitySharingCapabilityText
Last Content ModifiedLastContentModifiedDateDateTime

Licence: No extra licence needed.

Application permissions on the IntensiveReports app registration (all permissions):

PermissionAPIWhat it allowsNote
Sites.FullControl.AllOffice 365 SharePoint OnlineHave full control of all site collectionscertificate PnP
Data sources it reads
  • PowerShell (PnP): Get-PnPTenantSite -IncludeOneDriveSites -Detailed (Url matching my.sharepoint.com)
GET /ir-api/v1/reports/onedrive.drives.all?size=100

An AI assistant reads it with the MCP tool get_report and the id onedrive.drives.all. The client needs the Read grant for OneDrive. See Using the API.