Forum Discussion

Ted McLaughlin's avatar
Ted McLaughlin
Brass Contributor
Mar 07, 2018
Solved

Users who have left the company....

I know in ODFB that we have the ability to automatically give access to a departed employee's OD account to their manager, but that only appears to kick in when a user has been removed from AD altoge...
  • Deleted's avatar
    Deleted
    Mar 07, 2018

    Use the SharePoint Online Powershell and you can grant users access to any onedrive Site collection.

    To add access to Site collection
    Connect-SPOService -Url https://tenant-admin.sharepoint.com -credential username@domain.com
    Set-SPOUser -Site https://tenant-my.sharepoint.com/personal/targerusername_ypo_orgom -LoginName username@domain.com -IsSiteCollectionAdmin $true