Forum Discussion

kumbhaj's avatar
kumbhaj
Copper Contributor
May 02, 2025
Solved

Analyze Metadata for All Unstructured Files in SharePoint and OneDrive Using Microsoft Services

Hi everyone,

I’m trying to find a reliable way to collect and analyze metadata for all unstructured files across our Microsoft 365 tenant — specifically in SharePoint Online and OneDrive for Business.

The metadata we’re interested in includes:

  • File creation date
  • File size
  • File type or extension

The goal is to get comprehensive view across our entire Microsoft tenant to help us implement retention policies and labels accordingly

Ideally, we’d like to do this using Microsoft Purview or any other Microsoft-native service or tool. We’re open to using Graph API, Power BI, Defender for Cloud Apps, or other reporting/export tools if necessary.

Has anyone done this successfully? If so, what was your approach, and what tools or scripts did you use?

Any advice or recommendations would be really appreciated.

Thanks in advance.

1 Reply

Resources