Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's SharePoint Admin Blog > Posts > Can’t Delete Accounts from OneDrive for Business Next Gen Sync Client
April 14
Can’t Delete Accounts from OneDrive for Business Next Gen Sync Client

As anyone that listens to my podcast knows, I’m a fan of both the Consumer and For Business versions of OneDrive. I use it for a lot of my personal file syncing as well as with several Office 365 tenants, both production and test. Some of that is Production, some of it is with demo tenants. In the last couple of months I’ve stumbled across an unbelievable gap in the product, you can’t delete a OneDrive for Business (ODFB) account that you can’t log in to from the Windows Next Gen Sync Client. (NGSC).

You can delete OneDrive (consumer) accounts. And you can delete a ODFB account if you’re logged into it. Both of those show up on the Accounts tab of the Sync Client Settings page. But if you can’t log into the Office 365 account you’re syncing to, you can’t delete it. It’s stuck in this weird purgatory where the folders still show up in Explorer, but the blue icon for the account doesn’t show up in the system tray. It’s very confusing.

I’ve been trying to figure out how to delete some stale accounts for a while and it was inconceivable to me that that wasn’t possible. Today, I finally swallowed my pride and reached out for help. I tweeted the official (pronounced “Oh-FISHeeal”) OneDrive Twitter account. If they can’t help me, no one can. They have a blue check mark! This was their response:

image

I can’t find it because it’s not there! But, they do offer a solution, we can vote for this feature (really, deleting an account is a “feature”) on User Voice. It doesn’t cost anything but your time, and each vote you cast will bring me closer to my nirvana of being able to purge all the unused ODFB folders from my PC.

Vote early, vote often.

Thanks for your support.

tk

ShortUrl: http://www.toddklindt.com/DeleteODFBAccount

Comments

Thanks for digging

Thanks for asking the question Todd. Must be nice for Microsoft  that they never have a single employee leave the company to run in to this issue.
 on 4/14/2017 8:23 PM

ODFB folders

Interesting, Todd!
I wonder if you could completely unlink all your OD and ODFB accounts (as in doing a reset), and then add the ones back that you want? I was just reading this article about how to reset your OD. 
http://www.thewindowsclub.com/reset-onedrive-in-windows-10


 To reset OneDrive type the following command in a Run window and hit Enter:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Ideally, it should sync all the files again. However, if the OneDrive setup fails to start again, proceed to the next step.

In the Run box, copy-paste the following command and hit Enter:

%localappdata%\Microsoft\OneDrive\onedrive.exe

Thanks for digging into this - interesting! 

On another subject - can anyone get a demo tenant? Do you have a link about this? Thanks!
 on 4/17/2017 6:18 AM

HKCU

How about deleting registry keys?

The bad tenant entry should be stored here:

"HKCU\SOFTWARE\Microsoft\OneDrive\Accounts\Business2\AuthenticationURLs"
 on 4/18/2017 9:14 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person

Twitter


Want a message when I reply to your comment? Put your Twitter handle here.

Attachments

 

 Please Support my Sponsors