Unable to Delete Doc Library synced folder from Windows Explorer

%3CLINGO-SUB%20id%3D%22lingo-sub-163816%22%20slang%3D%22en-US%22%3EUnable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163816%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20Windows%2010%20OneDrive%20Sync%20client%20(17.005.0107.0008)%2C%20synced%20a%20document%20library%20from%20SPO%20with%20one%20file.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20windows%20Explorer%2C%20right%20clicked%20on%20synced%20doc%20library%2C%20received%20error%20message%20that%20the%20Action%20can't%20be%20completed%20because%20the%20folder%20or%20file%20is%20open%20in%20another%20program.%20The%20file%20was%20deleted%20from%20SPO%20and%20shows%20up%20in%20the%20Recycle%20bin%2C%20but%20the%20folder%20can't%20be%20deleted%20from%20Windows%20Explorer.%20Is%20this%20expected%20behavior%3F%20Is%20it%20due%20to%20the%20fact%20the%20library%20has%20been%20synced%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F33926%22%20target%3D%22_blank%22%3E%40Stephen%20Rose%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9466%22%20target%3D%22_blank%22%3E%40Salvatore%20Biscari%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-163816%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329335%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329335%22%20slang%3D%22en-US%22%3E%3CP%3ERight%20click%20on%20the%20Windows%20Explorer%20Tenant%20folder%20-%20click%20on%20settings.%26nbsp%3B%20Click%20on%20'Stop%20Sync'%20for%20the%20folder%20you%20want%20to%20delete.%20Hit%20OK.%26nbsp%3B%20Now%20you%20can%20delete%20the%20folder.%3C%2FP%3E%3CP%3E..At%20least%20my%20experience%20for%20O365%20SharePoint%20Sync.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-164053%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-164053%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1096%22%20target%3D%22_blank%22%3E%40Dean%20Gross%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EIf%20I%20understand%20well%20what%20you%20mean%2C%20you%20are%20correct%3A%20AFAIK%2C%20it%20is%20not%20possible%20to%20delete%20an%20entire%20synced%20document%20library%20using%20exclusively%20File%20Explorer.%3C%2FP%3E%0A%3CP%3EIn%20fact%2C%20as%20you%20have%20already%20found%2C%20File%20Explorer%20refuses%20to%20delete%20folders%20representing%20synced%20(i.e.%20with%20the%20green%20check%20mark)%20libraries%20under%20the%20%22tenant%22%20tree%20that%20appears%20in%20the%20left%20pane.%3C%2FP%3E%0A%3CP%3EOf%20course%2C%20you%20can%20%3CEM%3Eempty%3C%2FEM%3E%20a%20synced%20library%20from%20File%20Explorer%2C%20but%20not%20delete%20it%20entirely.%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20delete%20the%20library%20folder%20from%20the%20%22tenant%22%20tree%2C%20you%20must%20first%20stop%20the%20synchronization%20from%20the%20OneDrive%20client%20UI.%20After%20you%20have%20done%20it%2C%20the%20green%20checkmark%20will%20disappear%20from%20the%20corresponding%20folder%20icon%20and%2C%20at%20that%20point%2C%20you%20are%20able%20to%20actually%20delete%20the%20folder%20from%20the%20%22tenant%22%20tree%20in%20the%20left%20panel%20of%20File%20Explorer.%20No%20restart%20of%20the%20client%20or%20of%20the%20computer%20is%20needed%20before%20deleting%20the%20(not%20anymore%20synced)%20library.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163898%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163898%22%20slang%3D%22en-US%22%3EYeah%2C%20it's%20not%20possible%20to%20delete%20and%20actual%20document%20library%20from%20the%20onedrive%20client.%20So%20I%20would%20question%20that%20one%20%3AP.%20%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20yeah%20you%20cannot%20delete%20the%20root%20folder%2C%20you%20have%20to%20%22Unconfigure%22%20that%20folder%20from%20sync.%20Then%20restart%20onedrive%20client%20services%20%2F%20reboot%20before%20you%20can%20remove%20the%20local%20folder%20that's%20left%20behind.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163896%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163896%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20talking%20about%20a%20document%20library%20that%20shows%20up%20a%20first%20level%20folder%20under%20the%20tenant%20in%20Windows%20Explorer.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20my%20clients%20stated%20that%20they%20accidentally%20deleted%20an%20entire%20library%20from%20Windows%20Explorer%20and%20i'm%20trying%20to%20figure%20out%20how%20that%20could%20have%20happened%20because%20I%20cant%20do%20it.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163892%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163892%22%20slang%3D%22en-US%22%3ESo%20are%20you%20talking%20about%20a%20folder%20within%20a%20synced%20site%20itself%3F%20Or%20the%20root%20level%20folder%20under%20the%20Teanant%20name%3F%20Cause%20if%20it's%20that%20root%20folder%20that%20you%20synced%20itself%2C%20you%20got%20to%20reboot%20after%20removing%20the%20sync%20from%20settings%20to%20be%20able%20to%20delete%20cause%20the%20onedrive%20service%20holds%20onto%20it%20locally.%20Maybe%20stopping%20onedrive%20will%20let%20you%20too%2C%20but%20i%20just%20reboot.%20%3CBR%20%2F%3E%3CBR%20%2F%3ELike%20you%20can%20sync%20just%20a%20folder%20inside%20a%20library%2C%20are%20you%20trying%20to%20delete%20a%20folder%20within%20that%20sync%2C%20or%20the%20actual%20folder%20you%20sync'd%20itself%3F%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163890%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163890%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20empty%20recycle%20bin%2C%26nbsp%3B%20temp%20folder%20in%20app%20data%20restart%20and%20see%20if%20the%20issue%20still%20exists.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163887%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163887%22%20slang%3D%22en-US%22%3E%3CP%3Eyes%2C%20i%20can%20deleted%20from%20the%20web%20site%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163872%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163872%22%20slang%3D%22en-US%22%3Ecan%20you%20delete%20the%20same%20folder%20via%20web%20interface%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163869%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163869%22%20slang%3D%22en-US%22%3E%3CP%3Eok%2C%20but%20in%20my%20test%20site%2C%20there%20are%20not%20holds%20of%20any%20kind.%20It%20is%20a%20standard%20group%20enabled%20team%20site.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163866%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163866%22%20slang%3D%22en-US%22%3ESame%20rules%20apply.%20If%20SharePoint%20is%20under%20preservation%2Fhold%20etc.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163864%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163864%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%20but%20it%20is%20not%20a%20users%20onedrive%20site%2C%20it%20a%20document%20library%20from%20a%20team%20site.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-163863%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-163863%22%20slang%3D%22en-US%22%3EIs%20your%20OneDrive%20under%20a%20preservation%20policy%3F%20If%20so%20you%20cannot%20delete%20folders....%20which%20kind%20of%20makes%20the%20feature%20pretty%20bad%20experience.%20Hoping%20it's%20being%20looked%20at%20on%20the%20compliance%20side.%20You%20can%20tell%20if%20you%20look%20at%20the%20site%20contents%20of%20your%20OneDrive%20site%20and%20see%20if%20you%20have%20the%20preservation%20library.%20I%20forget%20what%20it's%20called%20off%20the%20top%20of%20my%20head.%20%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20not%20could%20be%20something%20else%20I%20guess%2C%20but%20I%20would%20look%20there.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-959271%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-959271%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F128280%22%20target%3D%22_blank%22%3E%40David%20Chamberlain%3C%2FA%3E.%20This%20resolved%20the%20issue%20for%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1039807%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1039807%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F128280%22%20target%3D%22_blank%22%3E%40David%20Chamberlain%3C%2FA%3EThanks.%26nbsp%3BThis%20works%20on%20most%20folders%2C%20but%20not%20on%20all.%26nbsp%3BTwo%20folders%20refuse%20to%20disappear%20from%20the%20Windows%20Explorer%20view.%20A%20pop-up%20windows%20displays%20this%20error%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETitle%3C%2FSTRONG%3E%3A%20%22Location%20is%20not%20available.%22%3C%2FP%3E%3CP%3E%3CSTRONG%3EError%20text%3C%2FSTRONG%3E%3A%20%22C%3A%5Cusers%5C%3CABC%3E%5C%3CSHAREPOINTNAME%3E%20-%20documents%5C%3CCHANNELNAME%3E%5C%3CPROJECTNAME%3E%5C...%5CABC%20is%20not%20accessible.%20The%20tag%20present%20in%20the%20reparse%20point%20buffer%20is%20invalid.%22%3C%2FPROJECTNAME%3E%3C%2FCHANNELNAME%3E%3C%2FSHAREPOINTNAME%3E%3C%2FABC%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20found%20a%20post%20on%20that%20error%20%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fen-US%2F11a0f585-b985-4a07-b6a0-f64dbce56536%2Fonedrive-file-locked-with-quotdata-in-the-reparse-point-buffer-is-invalidquot-message%3Fforum%3Dwin10itprogeneral%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eon%20this%20link%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20above%20path%2C%20%3CABC%3E%20represents%20my%20user%20name%2C%20%3CSHAREPOINTNAME%3E%20represents%20a%20SharePoint%20site%20of%20which%20I%20sync%20the%20entire%20document%20folder%20to%20Windows.%20%3CCHANNELNAME%3E%20is%20a%20document%20subfolder%20and%20also%20a%20channel%20in%20Teams.%20%3CPROJECTNAME%3E%20is%20the%20name%20of%20a%20project.%20The%20entire%20path%20C%3A%5C...%5CABC%20is%20a%2014-level%20deep%20folder%20tree.%20ABC%20is%20the%20lowest%20level%20folder%20and%20contains%20no%20files.%26nbsp%3B%3C%2FPROJECTNAME%3E%3C%2FCHANNELNAME%3E%3C%2FSHAREPOINTNAME%3E%3C%2FABC%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20relevant%20history%20is%20that%20this%20folder%20structure%20had%20contained%20project%20documentation%2C%20but%20the%20full%20tree%2C%20starting%20from%20%3CCHANNELNAME%3E%20on%20down%20had%20been%20moved%20to%20a%20new%20SharePoint%20site.%20The%20path%20above%20was%20the%20longest%20one%20in%20the%20tree%2C%20and%20perhaps%20this%20triggered%20a%20bug.%26nbsp%3B%3C%2FCHANNELNAME%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1177230%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1177230%22%20slang%3D%22en-US%22%3EI%20have%20the%20same%20or%20similar%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EA%20specific%20folder%20cannot%20be%20deleted%20or%20accessed.%20The%20folder%20is%20part%20of%20a%20OneDrive%20teams%20folder%20shared%20via%20MS%20Teams%20and%20locally%20synced%20in%20Windows.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20error%20I%20get%20when%20trying%20to%20access%20the%20folder%20is%3A%3CBR%20%2F%3E%22Location%20is%20not%20available%22%3CBR%20%2F%3E%3CPATH%20to%3D%22%22%20folder%3D%22%22%3E%20%22is%20not%20accessible.%3CBR%20%2F%3E%22The%20tag%20present%20in%20the%20reparse%20point%20buffer%20is%20invalid%22%3CBR%20%2F%3E%3CBR%20%2F%3EReally%20annoying.%20Please%20fix.%3CBR%20%2F%3EBest%3C%2FPATH%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1933774%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Delete%20Doc%20Library%20synced%20folder%20from%20Windows%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1933774%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F128280%22%20target%3D%22_blank%22%3E%40David%20Chamberlain%3C%2FA%3E%26nbsp%3BYou%20actually%20understood%20the%20problem%20and%20provided%20a%20clear%20solution!%20Thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Respected Contributor

Using Windows 10 OneDrive Sync client (17.005.0107.0008), synced a document library from SPO with one file.  

In windows Explorer, right clicked on synced doc library, received error message that the Action can't be completed because the folder or file is open in another program. The file was deleted from SPO and shows up in the Recycle bin, but the folder can't be deleted from Windows Explorer. Is this expected behavior? Is it due to the fact the library has been synced? 

 

@Stephen Rose  @Salvatore Biscari

16 Replies
Is your OneDrive under a preservation policy? If so you cannot delete folders.... which kind of makes the feature pretty bad experience. Hoping it's being looked at on the compliance side. You can tell if you look at the site contents of your OneDrive site and see if you have the preservation library. I forget what it's called off the top of my head.

If not could be something else I guess, but I would look there.

Thanks, but it is not a users onedrive site, it a document library from a team site. 

Same rules apply. If SharePoint is under preservation/hold etc.

ok, but in my test site, there are not holds of any kind. It is a standard group enabled team site. 

can you delete the same folder via web interface?

yes, i can deleted from the web site

Can you empty recycle bin,  temp folder in app data restart and see if the issue still exists.

So are you talking about a folder within a synced site itself? Or the root level folder under the Teanant name? Cause if it's that root folder that you synced itself, you got to reboot after removing the sync from settings to be able to delete cause the onedrive service holds onto it locally. Maybe stopping onedrive will let you too, but i just reboot.

Like you can sync just a folder inside a library, are you trying to delete a folder within that sync, or the actual folder you sync'd itself?

I'm talking about a document library that shows up a first level folder under the tenant in Windows Explorer. 

One of my clients stated that they accidentally deleted an entire library from Windows Explorer and i'm trying to figure out how that could have happened because I cant do it. 

Yeah, it's not possible to delete and actual document library from the onedrive client. So I would question that one :P.

But yeah you cannot delete the root folder, you have to "Unconfigure" that folder from sync. Then restart onedrive client services / reboot before you can remove the local folder that's left behind.

Hi @Dean Gross.

If I understand well what you mean, you are correct: AFAIK, it is not possible to delete an entire synced document library using exclusively File Explorer.

In fact, as you have already found, File Explorer refuses to delete folders representing synced (i.e. with the green check mark) libraries under the "tenant" tree that appears in the left pane.

Of course, you can empty a synced library from File Explorer, but not delete it entirely.

In order to delete the library folder from the "tenant" tree, you must first stop the synchronization from the OneDrive client UI. After you have done it, the green checkmark will disappear from the corresponding folder icon and, at that point, you are able to actually delete the folder from the "tenant" tree in the left panel of File Explorer. No restart of the client or of the computer is needed before deleting the (not anymore synced) library.

Right click on the Windows Explorer Tenant folder - click on settings.  Click on 'Stop Sync' for the folder you want to delete. Hit OK.  Now you can delete the folder.

..At least my experience for O365 SharePoint Sync.

Thanks, @David Chamberlain. This resolved the issue for me.

@David ChamberlainThanks. This works on most folders, but not on all. Two folders refuse to disappear from the Windows Explorer view. A pop-up windows displays this error: 

Title: "Location is not available."

Error text: "C:\users\<abc>\<sharepointname> - documents\<channelname>\<projectname>\...\ABC is not accessible. The tag present in the reparse point buffer is invalid."

 

I found a post on that error on this link

 

In the above path, <abc> represents my user name, <sharepointname> represents a SharePoint site of which I sync the entire document folder to Windows. <channelname> is a document subfolder and also a channel in Teams. <projectname> is the name of a project. The entire path C:\...\ABC is a 14-level deep folder tree. ABC is the lowest level folder and contains no files. 

 

The relevant history is that this folder structure had contained project documentation, but the full tree, starting from <channelname> on down had been moved to a new SharePoint site. The path above was the longest one in the tree, and perhaps this triggered a bug. 

 

 

I have the same or similar issue.

A specific folder cannot be deleted or accessed. The folder is part of a OneDrive teams folder shared via MS Teams and locally synced in Windows.

The error I get when trying to access the folder is:
"Location is not available"
<Path to folder> "is not accessible.
"The tag present in the reparse point buffer is invalid"

Really annoying. Please fix.
Best

@David Chamberlain You actually understood the problem and provided a clear solution! Thank you.