Forum Discussion

Chris_toffer0707's avatar
Chris_toffer0707
Iron Contributor
Mar 19, 2025

SharePoint Online – Get tenant storage usage and total capacity with PowerShell and MgGraph cmdlets

In my search for at way to get data about SharePoint tenant storage usage and the total capacity, I have been using the PnP PowerShell module.

 

I wanted to move away and use Microsoft Graph instead. I found inspiration in multiple places and have been cooking a little script that I wanted to share with the community. 

 

Info and the script can be found at my webpage: SharePoint Online - Get tenant storage usage with PowerShell and MgGraph cmdlets - Christoffer Klarskov Jakobsen - Microsoft Architect

 

I hope some of you can use it :) 

No RepliesBe the first to reply

Resources