Jun 03 2022 12:07 AM - edited Jun 03 2022 12:08 AM
In one of my sites libraries I have an empty subfolder which I can't delete.
When I right click on the folder and choose Delete I get this:
I have no idea to who have made these shortcuts.
I choose delete and although the folder is empty I get this:
I'm owner of the site and have Admin privileges.
Any ideas on how to get rid of this subfolder?
Thanks in advance!
Michael
Jun 03 2022 02:55 AM
If you have owner rights try to check in the Library settings for "Manage files which have no checked in version"
As owner you can see if a user left a file without checked in version.
This may be the reason why you are not able to delete the folder
Jun 03 2022 03:33 AM
Jun 04 2022 05:26 AM
Solution@MichaelDano I believe you may have an hidden file inside the folder.
Could you check it via PowerShell ?
Here you have already a PowerShell script as sample: SharePoint Online: PowerShell to List All Files Inventory in a Document Library - SharePoint Diary
Jun 09 2022 03:08 AM
Jun 10 2022 02:07 AM
@MichaelDano there may be multiple reasons for that. Sometimes it depends from the application/OS system you are using.
In my case it was Autocad generating hidden files in the folder (synchronized to SP).
Adobe Photoshop/Lightroom also generate hidden files sometimes
If they are not needed, you can delete the files directly via PowerShell
Jun 04 2022 05:26 AM
Solution@MichaelDano I believe you may have an hidden file inside the folder.
Could you check it via PowerShell ?
Here you have already a PowerShell script as sample: SharePoint Online: PowerShell to List All Files Inventory in a Document Library - SharePoint Diary