File locking bug in SharePoint - frequently get file locks.
File locking has been an issue in SharePoint for as long as I can remember, now carried forward into TEAMs.
This is an obstacle to our adoption of TEAMs - people get frustrated by it (including our TEAMs support team!).
Frequently unable to save my files because TEAMs/SharePoint believes another user (Me!) has it locked. Only answer (as ShaePoint won't let you rename or delete the original whilst locked) is to save a copy, close the file, wait 30 min or so and then hope TEAMs/SharePoint has sorted itself and delete the old file.
Seems to me that it happens if handshake between SharePoint and client is lost momentarily.
I get this constantly trying to edit things, rename files, edit posts, etc "Failed" sorry this file was locked , etc etc, truly frustrating.
Two years later the problem is still there! Really annoying.
This problem is still not solved. Very frustrating for our customers.
Microsoft, prioritize this bug. It's a legacy bug that does not match with the user expierence of Teams. I understand it is a difficult bug to squash, but it is very annoying. Especially because the instructions to solve it, are unclear.
I found this mostly when using chrome and creating a file via SharePoint "New" or when saving a new file from a desktop app to Sp when required properties are missing. that is using edge or uploading the file might be a (clumsy) workaround.
ChazBo Jr commented
Same issue here with Office 2019 Pro aka Office 365 Pro or Office 2016 Pro, I can kind of understand what maybe happening, you select the Edit to work in the excel file (In our case Excel) and there is no Close option or File/Close within Teams file, now you go to a meeting or more on to another channel than come back and select Edit in Desktop app and we get the File Open by Me error due to me editing it 3 hours ago and i had no way to close that connection, the only way around for us 300 plus people is to close Teams by taskbar icon than re-open Teams.
I see this has been an issue since before Nov 2017 and now we are going on 2020 and same problem, I believe now we are never going to see a fix and "We have to either stay in Desktop app or stay within Teams which works fine for us," even others can edit it fine within Teams at the same time with no issues.
We are having the exact same issue in Teams. Rolled out a deployment to 6 new users, unaware of this issue, and now trying to put out this fire because they can't use Teams for collaboration, which is the whole point.
Experiencing the same issue in SharePoint Online (Office 365).
I cant believe Microsoft is shipping a product with a bug like that! This problem occurs on a daily basis in SharePoint. FIX THE PROBLEM NOW PLEASE!
Sam Foot commented
We also have this issue, it's annoying if you accidentally create a document is the wrong folder and then want to move it, it's not a total blocker for us, but it really annoys some of our users.
1. Files tab in Teams
2. Create new word document and edit it
3. Wait for document to save
4. Try and move/delete it, it's locked by someone even though I just created the file
After an amount of time it unlocks and you can freely move/delete it.
This just happened to me on my first day using MS Teams at a new job... really a shame, Microsoft.
Problem persists. Running Teams desktop app 1.2.00.11966 (64-bit).
I can consistently reproduce this problem by:
1. Doing any one of the following from the Files tab within a channel using the Teams desktop app:
A. adding a new Word file by using the "New" option
B. selecting "Edit in Teams" from the context menu of an existing Word doc
C. clicking an existing Word doc to view in Teams then selecting "Edit" or "Edit in Teams"
2. Clicking the "Close" button to exit the editor
3. Attempting to delete the Word file
Attempting to delete from Teams results in a toast: "The file <file name> is locked."
Attempting to delete from SharePoint results in a message: "The file is currently checked out or locked for editing by another user."
When opening the file using Word desktop app, the Share panel indicates that the logged-in user is currently editing the file from 2 or 3 devices.
I have found no way to get Teams to trigger a release of the co-authoring lock (e.g restarting Teams app, signing out of Teams app, restarting machine). Only option is to wait for timeout which is usually about an hour.
Adding an existing Word doc to Teams and editing with Word desktop app or Word Online outside of the Teams' embedded browser seems to release the lock correctly.
We also have this issue... Is there really no way to solve this one, Microsoft? :/
This is SO incredibly frustrating and is a productivity killer. Microsoft: Please, PLEASE fix this super BASIC (yet crucial) troubleshooting issue.
Christian Grønhøj Eriksen commented
This has been happening frequently for my teams. I used to be able to go through SharePoint and discard checkouts to remove the locked status, but now it gives me an error, even through I'm an owner.
Very frustrating as I still have files that have been locked for about 30 days. Can't delete them, move them, or rename them.
I was directed to this forum by a Microsoft Support Rep to advise that our organization is, also, facing this issue. Hoping this will be updated, though the the forums provided by my rep show this has been ongoing for over a year now.
Please find a permanent resolution to this issue and apply a patch. Our organization can't have hundreds of employees trying silly workarounds to a problem that simply shouldn't exist.
Again, to spell this out, deleting a local cache or going into SharePoint and checking out/in to clear the lock is NOT a solution. It's a cheap workaround that we shouldn't have to do.
This is such an infuriating issue because it's been around in SharePoint for years, and now has spilled over into Teams. We shouldn't have to perform these ridiculous workarounds by editing local caches etc. How on Earth can I knowingly push this out to my organisation knowing that such a fundamental issue still exists in production?
I also have frequent file locking issue via SharePoint online. Would be nice if there was an option int he admin console to see all open/locked files and be able to force the system to release them.
Also @Bogdan 's solution worked for me:
1. Go to 'Office Upload Center'
2. Settings -> Delete cached files