Grant access rights to other user’s OneDrive

To grant access rights to other user’s OneDrive, open Powershell as admin and execute:

Connect-SPOService -Url “https://mydomain-admin.sharepoint.com

Set-SPOUser -Site “https://mydomain-my.sharepoint.com/personal/user01_domain_com” -LoginName “user02@domain.com” -IsSiteCollectionAdmin $true

Note:

  1. user must be active or within 30 days of deletion
  2. after 30 days user account for 93 days is soft deleted and can be restored from Sharepoint recycle bin:

Get-SPODeletedSite -IncludeOnlyPersonalSite -Limit All

Restore-SPODeletedSite -Identity “https://mydomain-my.sharepoint.com/personal/user01_domain_com”

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *