folder to big to delete

%3CLINGO-SUB%20id%3D%22lingo-sub-875349%22%20slang%3D%22en-US%22%3Efolder%20to%20big%20to%20delete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-875349%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20user%20with%20a%20folder%20in%20his%20OneDrive%20with%20almost%20a%20million%20files.%20He%20wants%20it%20deleted%20but%20when%20you%20attempt%20to%20delete%20you%20get%20error%2036..%20Microsoft%20says%20I%20can%20sync%20the%20folder%20to%20my%20desktop%20and%20delete%20it%20there.%20i%20ran%20a%20couple%20tests%20and%20that%20doesn't%20seem%20to%20be%20working.%20How%20do%20i%20do%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-875349%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELimits%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-875385%22%20slang%3D%22en-US%22%3ERe%3A%20folder%20to%20big%20to%20delete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-875385%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F415242%22%20target%3D%22_blank%22%3E%40sterbella%3C%2FA%3E%26nbsp%3BHave%20you%20looked%20in%20to%20removing%20it%20via%20powershell%3F%20I%20found%20this%20technet%20post%20that%20looks%20like%20it%20might%20do%20what%20you%20need%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2FOneDrive-for-Business-Tools-dfb52a4c%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2FOneDrive-for-Business-Tools-dfb52a4c%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-879269%22%20slang%3D%22en-US%22%3ERe%3A%20folder%20to%20big%20to%20delete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-879269%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F415242%22%20target%3D%22_blank%22%3E%40sterbella%3C%2FA%3E%26nbsp%3BSomething%20else%20that%20might%20work%20would%20be%20to%20connect%20the%20users%20OneDrive%20in%20Access%20and%20delete%20the%20files%20from%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20tested%20it%20with%20my%20OneDrive%20and%20I'm%20able%20to%20see%20my%20files%20in%20there.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1051294%22%20slang%3D%22en-US%22%3ERe%3A%20folder%20to%20big%20to%20delete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1051294%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411456%22%20target%3D%22_blank%22%3E%40EvanB%3C%2FA%3E%26nbsp%3BI%20ended%20up%20creating%20a%20flow%20that%20looped%20through%20the%20library%20deleting%20everything.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I have a user with a folder in his OneDrive with almost a million files. He wants it deleted but when you attempt to delete you get error 36.. Microsoft says I can sync the folder to my desktop and delete it there. i ran a couple tests and that doesn't seem to be working. How do i do this?

3 Replies
Highlighted

@sterbella Have you looked in to removing it via powershell? I found this technet post that looks like it might do what you need

 

https://gallery.technet.microsoft.com/OneDrive-for-Business-Tools-dfb52a4c

 

Highlighted

@sterbella Something else that might work would be to connect the users OneDrive in Access and delete the files from there.

 

I just tested it with my OneDrive and I'm able to see my files in there.

Highlighted

@EvanB I ended up creating a flow that looped through the library deleting everything.