Export a List of Teams Meeting Recordings Stored in User OneDrives

Prev Next

Scan every user's OneDrive for Teams meeting recordings and produce a tenant-wide CSV inventory.

Complexity: Intermediate. Impact: audit + storage + compliance + reporting + teams.

Why use this workflow

Teams stores meeting recordings for non-channel meetings in the organizer's OneDrive for Business, under a /Recordings folder. Over time, these .mp4 files accumulate, consume storage, create data-governance exposure (recordings may contain confidential conversations), and make retention and eDiscovery harder to reason about.

The Microsoft 365 admin center has no built-in report that shows every Teams recording across every user. This workflow produces that inventory on demand.

Run this when you need to:

  • Audit OneDrive storage consumption driven by meeting recordings
  • Identify old recordings for retention-policy cleanup
  • Respond to legal or eDiscovery requests involving meeting content
  • Offboard a user and see which recordings they own
  • Validate that your Teams recording storage policy is working as expected

Expected outcomes

  • A CSV file (Teams_Recordings_Report.csv) listing every Teams recording found in user OneDrives
  • For each recording: owner name, owner UPN, file name, folder path, size (MB), created date, and a direct web link
  • Coverage of the standard /Recordings folder plus alternate paths (/Documents/Recordings, Microsoft Teams Chat Files) and a drive-wide .mp4 search as a fallback
  • A repeatable process you can schedule

Risks and considerations

  • Channel meeting recordings are not in OneDrive. They live in the channel's SharePoint document library. This workflow covers personal OneDrive only. Run a separate SharePoint scan for full coverage.
  • Legacy Stream (classic) recordings created before the move to OneDrive and SharePoint storage are in Microsoft Stream, not OneDrive. Check Stream separately if you have older data.
  • Performance: Iterating every user in a large tenant triggers many Graph calls. Expect throttling (HTTP 429), back off, and consider running off-hours.
  • Privacy: Meeting recordings can contain confidential conversations. Treat the output CSV as sensitive and store it accordingly.
  • Not every .mp4 is a Teams recording. The drive-wide fallback search may surface unrelated video files. Review results before acting on them.
  • Do not delete recordings based on this report without confirming retention requirements with Legal or Compliance.

Required permissions

PermissionWhy it's needed
User.Read.AllEnumerate every user in the tenant to iterate their OneDrive
Files.Read.AllRead contents of user OneDrive drives to locate recording files
Sites.Read.AllRequired if you later extend the scan to SharePoint sites for channel recordings

Ask Dex

Paste the prompt into a Dex conversation.

Prompt for IT admins

Scan every user's OneDrive in our M365 tenant for Microsoft Teams meeting recordings. Check the standard /Recordings folder plus common alternate paths, and also do a drive-wide search for .mp4 files. Export the results to CSV with user name, UPN, file name, folder, size in MB, created date, and web link.

Manual steps (admin center)

There is no native admin report for this. The interface path is user by user and is only practical for spot checks.

Option A: Check a single user's OneDrive

  1. Sign in to the Microsoft 365 admin center with a Global Administrator or SharePoint Administrator account.
  2. Go to Admin centers > SharePoint > More features > User profiles > Manage User Profiles.
  3. Search for the target user, select the profile, choose Manage site collection owners, and add yourself as a secondary admin on their OneDrive.
  4. Open the user's OneDrive URL: https://<tenant>-my.sharepoint.com/personal/<user_upn_with_underscores>/.
  5. Look for a folder named Recordings at the root.
  6. Note file names, sizes, and modified dates.

Option B: Microsoft Purview content search (tenant-wide)

  1. Go to Microsoft Purview.
  2. Open Solutions > eDiscovery > Content search.
  3. Create a new search. Under Locations, select All OneDrive accounts.
  4. In the query, use: filetype:mp4 AND (path:"*/Recordings/*" OR filename:"*Recording*")
  5. Run the search, then export the results. The export includes a manifest CSV with file paths, sizes, and owners.

Limitations: Option A does not scale past a handful of users. Option B requires eDiscovery licensing. For larger tenants, use the API or PowerShell approach.

Microsoft Graph API

No single Graph endpoint lists all Teams recordings. You build the report by enumerating users, then checking known paths in each user's drive.

Step 1: List all users

GET https://graph.microsoft.com/v1.0/users?$select=id,displayName,userPrincipalName&$top=999

Paginate with @odata.nextLink until exhausted.

Step 2: For each user, list the contents of the Recordings folder

GET https://graph.microsoft.com/v1.0/users/{userId}/drive/root:/Recordings:/children?$select=name,size,createdDateTime,webUrl,file

Handle responses:

  • 200 OK: parse value[] and keep items whose name ends in .mp4, .mkv, or .webm.
  • 404 Not Found: the user has no /Recordings folder. Skip.
  • 403 Forbidden: the app lacks Files.Read.All, or the user has no provisioned OneDrive.
  • 429 Too Many Requests: honor the Retry-After header.

Some tenants have recordings under /Documents/Recordings or inside Microsoft Teams Chat Files. As a catch-all, use the drive search endpoint:

GET https://graph.microsoft.com/v1.0/users/{userId}/drive/root/search(q='.mp4')?$select=name,size,createdDateTime,webUrl,parentReference

Example response item

{
  "name": "Weekly Standup-20240315_090312-Meeting Recording.mp4",
  "size": 148234752,
  "createdDateTime": "2024-03-15T09:32:18Z",
  "webUrl": "https://contoso-my.sharepoint.com/.../Recordings/Weekly%20Standup-....mp4",
  "file": { "mimeType": "video/mp4" }
}

Throttling guidance

Graph enforces per-app and per-tenant throttling. For larger tenants, batch requests (up to 20 per $batch call) or add a small delay between iterations. Always respect Retry-After.

PowerShell

The approach uses the Microsoft.Graph PowerShell SDK. It enumerates every user, probes common recording folders, falls back to a drive-wide .mp4 search, and exports the results to CSV.

Prerequisites

  • PowerShell 7 or later recommended
  • Install-Module Microsoft.Graph -Scope CurrentUser
  • Connect with the scopes User.Read.All and Files.Read.All

Approach

  1. Get-MgUser -All pulls every user and UPN.
  2. For each user, call Get-MgUserDriveRootChildren on each candidate path (/Recordings, /Documents/Recordings, Microsoft Teams Chat Files).
  3. Catch 404 responses silently. Not every user has a Recordings folder.
  4. Run a drive-wide search for .mp4 to pick up recordings in non-standard locations.
  5. Suppress duplicates (same user and file name).
  6. Export the results to Teams_Recordings_Report.csv.

Run it off-hours on larger tenants to reduce throttling.