Accidentally signed into work OneDrive on personal laptop - how to switch back?

I accidentally signed into my work laptop using my personal Microsoft and OneDrive account. Now, I'm unable to access the OneDrive app on my personal laptop (running MacOS). When I accessed my personal OneDrive account through the browser, I found that all my personal files had been replaced with files from the work laptop. I've signed out of the personal OneDrive account on the work laptop, but all my old files and folders are still missing. I tried restoring OneDrive to a previous date, but even though the process was successful, I still can't see my old files in the browser version of OneDrive. I'm also still unable to sign in to the OneDrive app on my Mac.

How can I restore my personal OneDrive and access the app again?

No worries, it happens. Here’s a step-by-step guide to help you restore your personal OneDrive and regain access:

First, let’s understand that signing out of your personal account on the work laptop was a good start. Now, we need to fix the mess on your personal laptop.

Step 1: Clear Local Storage

To start fresh, remove any locally stored data for OneDrive on your personal laptop:

  1. On your MacBook, click the Apple menu and select About This Mac.
  2. Click Storage.
  3. Click Manage and then OneDrive.
  4. Move the OneDrive folder to Trash.

Step 2: Remove OneDrive App Cache

We’ll clear the app cache to ensure the OneDrive app starts clean:

  1. Click the Go menu and select Go to Folder.
  2. Type ~/Library/Group Containers/UBF8T346G9.Office/OneDrive and hit enter.
  3. Move the contents of the folder to Trash.

Step 3: Sign Out of OneDrive in Browser

Make sure you’re signed out of OneDrive in the browser to avoid any conflicts:

  1. Go to onedrive.com using a web browser.
  2. Click your profile picture or avatar in the top-right corner.
  3. Select Sign out.

Step 4: Sign Back into OneDrive App

Time to sign back into the OneDrive app:

  1. Open the OneDrive app on your MacBook.
  2. Sign in with your personal Microsoft account credentials.

Step 5: Restore Previous Version (Optional)

If your files still aren’t showing up, try restoring to a previous version:

  1. Go to onedrive.com using a web browser.
  2. Click Files.
  3. Select Recycle bin.
  4. Find the folder that contains your personal files and right-click on it.
  5. Select Restore.

If you still can’t see your files, you may need to reach out to Microsoft Support for further assistance.