No deleted Personal Folders found with Get-SPODeletedSite -IncludePersonalSite

Markus Männl 41 Reputation points
2021-10-27T08:17:33.547+00:00

Hi there,

with the newest version from SharePoint Online Management Shell, i get no deleted Personal Folders. But there are many deleted Onedrive Accounts...

All other deleted site are found, but no Personal Sites!

Get-SPODeletedSite -> Count 256
Get-SPODeletedSite -IncludePersonalSite -> Count 256
Get-SPODeletedSite -IncludeOnlyPersonalSite -> Count 0

Get-SPOSite -IncludePersonalSite $true -Limit All | Where-Object {$_.URL -match "personal"} -> Count 5267

The connected account is a SharePoint Admin.

???

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | OneDrive | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,891 Reputation points
    2021-10-28T06:12:27.263+00:00

    Hi @Markus Männl ,

    As per my knowledge, deleting users' account and profile will not remove personal site immediately. It will be deleted in 30 days by default and then the deleted personal site will be moved to site collection recycle bin. The default retention period for OneDrive is 30 days, but you can change this to longer or shorter. So, check the retention period on your tenant and if It has been more than that time since the user account was deleted. Reference: The OneDrive deletion process.

    ----------

    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.


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.