Changing O365 OneDrive Folder Ownership after departure

Chris Chivers 1 Reputation point
2021-02-03T15:49:27.323+00:00

I have a Global Admin account but I am getting an error when trying to change the owner/manage access in O365.

{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."},"status":403,"correlationId":"c9aba79f-40d9-b000-823b-ef528868d3fb"}

The Sharing Owner is no longer with the company, and the user no longer has an active O365 license. When I try and access that users OneDrive it says "OneDrive isn't set up for this user."

I need to get access to this folder (and others) to assist the company in reorganizing their OneDrive/Sharepoint file folder structure. The end goal is to have a single shared library for all employees (not under a single employee in case of future turnover).

Any assistance is most appreciated. Thank you.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,890 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,150 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Trevor Seward 11,691 Reputation points
    2021-02-03T19:29:30.687+00:00

    Do you have the SharePoint Admin or Global Admin role? Does the site still exist?

    Get-SPOSite -IncludePersonalSite $true | ?{$_.Url -match 'personal'}
    

    If it isn't there, you can see if it is in deleted sites:

    Get-SPODeletedSite -IncludePersonalSite:$true
    

    You can restore it via Restore-SPODeletedSite.

    If it isn't in deleted and it has been <14 days since the full deletion, you can open a support ticket with Microsoft to attempt to restore it. Otherwise, you will need to have had been taking your own backups to restore the content.

    If the site exists, you can set yourself as an administrator.

    Set-SPOUser -Site https://tenant-my.sharepoint.com/personal/site_name -LoginName username@domain.com -IsSiteCollectionAdmin $true
    
    0 comments No comments

  2. Elsie Lu_MSFT 9,771 Reputation points
    2021-02-04T06:02:53.45+00:00

    Hi @Chris Chivers ,

    If you want to change the site management account, you can modify it in the SharePoint admin center>Active sites:
    63780-1.jpg

    In fact we are providing help about SharePoint, when it comes to Onedrive you could go to the forum which is dedicated to Onedrive for more professional help.

    Thank you for posting in the Q&A forum. :)


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

  3. Chris Chivers 1 Reputation point
    2021-02-04T18:46:05.073+00:00

    I'm actually trying to move the files/folders from multiple user OneDrive folders to a single SharePoint folder for the organization.

    0 comments No comments