We are using SharePoint 2016, and I am trying to upload a document called 'Risk Management.docx' to a File Directory but when I attempt to upload it it says 'The file https://location/Risk Management.docx' is checked out for editing by i:0#.w|domain/username'.
However, this user has been disabled in AD, and the file is not present at this location. I am unable to find this file anywhere. I have gone into the Central Admin portal and gone to the Content and Structure section of where this file should be, and it is also not present in there.
How would I 'unlock' this file, or enable the ability to upload to this location? It appears the file doesn't exist at all, so would I need to clear SharePoint's cache?
Any help would be appreciated.
You can list documents saved by a user but no checked-in to the site.
Go to documents library
Settings > Manage files which have no checked in version. You can view, select and take control of theses files.Source: https://www.sharepointdiary.com/2017/07/powershell-to-manage-files-which-nave-no-checked-in-version.html