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 Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

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 […]

Leave a Reply

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

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading