How to view the OneDrive site details for a user?

December 15th, 2018 | Posted by admin in Exchange

We may have a requirement to see the OneDrive site details of a user, we can see the details of the OneDrive site for the user in PowerShell by using the below command.

Get-SPOSite -Identity https://superhybridcloud-my.sharepoint.com/personal/Raj_superhybridcloud_com

Identity of an OneDrive site will be like below in SharePoint Online. You can construct your OneDrive site collection Url by referring the below

https://superhybridcloud-my.sharepoint.com/ – Tenant Name followed by my.sharepoint.com

/personal/ – it is a personal site collection

/Raj_superhybridcloud_com – User Principal Name of a user like ID@companyname.com, and we need to call it as id_domainname_com

Identity = https://superhybridcloud-my.sharepoint.com/personal/Raj_superhybridcloud_com

In addition, we can view the full details about the one drive site of a user using below command.

Get-SPOSite -Identity https://superhybridcloud-my.sharepoint.com/personal/Raj_superhybridcloud_com | fl

Hope this is informative J

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply