Small Tricks and Tips – OneDrive – how to export all OneDrive site details in our Microsoft 365 tenant from Microsoft 365 admin center

Microsoft 365 admin center - Usage reports - OneDrive usage reports - exporting One Drive site details - choosing the columns which requires in CSV file
Microsoft 365 admin center - Usage reports - OneDrive usage reports - exporting One Drive site details - choosing the columns which requires in CSV file

Hi All,

Greetings for the day!!!

Use Case / Background

  • In one of the scenario, we need to loop through all the OneDrive sites and check few points like all Site Collection Administrators to respective OneDrive site
  • So we need all the OneDrive sites available in our tenant to get Site Collection Administrators

Take away from this article

  • In this article we got to know how to get all One Drive site details in CSV file from Microsoft 365 admin center.
  • Permissions required to get all One Drive sites details in CSV file

Permissions required to export all One Drive site URLs from Microsoft 365 admin center

  • User who exports all One Drive site details must have following one of the role
    • Global Administrator
    • SharePoint Administrator

Details

  • Navigate to Microsoft 365 admin center
  • Navigate to Microsoft 365 admin center either through office 365 portal or from direct URL – https://admin.microsoft.com/
  • From office portal – navigate to URL – https://portal.office.com
  • Once we are on Microsoft 365 admin center, we could navigate to “Report” section to go to “Usage” reports as shown in below fig
fig : Microsoft 365 - admin center
fig : Microsoft 365 – admin center
  • Click on “Show all” to navigate to “Reports” section as
fig : Microsoft 365 admin center – Navigating to Reports >> Usage
  • Click on “Usage” under “Reports“, we will be navigating to “reportsUsage” blade as
fig : Microsoft 365 - Usage reports
fig : Microsoft 365 – Usage reports
  • From left blade click on “OneDrive” , we will redirected to “OneDriveSiteUsage” blade
Microsoft 365 admin center - Usage reports - OneDrive usage reports
fig: Microsoft 365 admin center – Usage reports – OneDrive usage reports
  • Scroll down bit, to export OneDrive site details
fig: Microsoft 365 admin center - Usage reports - OneDrive usage reports - exporting One Drive site details
fig: Microsoft 365 admin center – Usage reports – OneDrive usage reports – exporting One Drive site details
  • We have an option to “Choose columns” which we want to CSV file
Microsoft 365 admin center - Usage reports - OneDrive usage reports - exporting One Drive site details - choosing the columns which requires in CSV file
fig: Microsoft 365 admin center – Usage reports – OneDrive usage reports – exporting One Drive site details – choosing the columns which requires in CSV file
  • Click on “Export” to export the result – all One Drive site details tp CSV file
fig: Microsoft 365 admin center - Usage reports - OneDrive usage reports - exported One Drive site details
fig: Microsoft 365 admin center – Usage reports – OneDrive usage reports – exported One Drive site details
  • Here please note that the output
    • Site URL are IDs rather actual URL
    • Owner Display Names are in IDs rather actual Name
    • Owner Principal Name are in IDs rather actual Principal Name
  • Are the above values are in IDs because – Information is concealed for privacy, how to change settings – we will discuss in next article

Thanks for reading. HAVE A FANTASTIC TIME AHEAD!!!

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

2 Responses

  1. April 6, 2023

    […] our one of the previous article – Small Tricks and Tips – OneDrive – how to export all OneDrive site details in our Microsoft 365 … – we were exporting all one drive sites in CSV […]

  2. April 7, 2023

    […] our one of the previous article – Small Tricks and Tips – OneDrive – how to export all OneDrive site details in our Microsoft 365 … – we were exporting all One Drive sites in CSV […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: