Forum Discussion

sterbella's avatar
sterbella
Brass Contributor
Sep 25, 2019

folder to big to delete

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

  • EvanB's avatar
    EvanB
    Copper Contributor

    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.

    • sterbella's avatar
      sterbella
      Brass Contributor

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

  • EvanB's avatar
    EvanB
    Copper Contributor

    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

     

Resources