Share via

Different reporting methods in same tenant surface different OneDrive totals

TSOAdmin 441 Reputation points
2023-08-10T18:26:11.7733333+00:00

When I execute Get-SPOSite "All" -IncludePersonalSites against a tenant it returns 1,526 total OneDrives. However, the total OneDrives reported in M365 Admin Center > Usage > OneDrives > Accounts is 1,090. The total returned by M365 Usage reporting is what I expected, given the total number of user accounts currently in our AAD. However, the basis for the total returned by Get-SPOSite is unclear. I would like to know why there is a difference in the total number of tenant OneDrives reported by these two methods, thank you.

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,881 Reputation points
    2023-08-11T08:59:57.5166667+00:00

    Hi Stephan Bren, it is a pleasure to be able to help you : )

    Per my test, you can try below cmdlets to find all OneDrive sites:

    $AdminSiteURL="https://crescent-admin.sharepoint.com"
     
    #Get Credentials to connect to SharePoint Admin Center
    $Cred = Get-Credential
     
    #Connect to SharePoint Online Admin Center
    Connect-SPOService -Url $AdminSiteURL -credential $Cred
     
    #Get all Personal Site collections
    Get-SPOSite -Template "SPSPERS" -limit ALL -includepersonalsite $True
    

    User's image

    Hope this helps.

    Best Regards.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.