Home

Editing a file in the Teams online editor locks it

%3CLINGO-SUB%20id%3D%22lingo-sub-204641%22%20slang%3D%22en-US%22%3EEditing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-204641%22%20slang%3D%22en-US%22%3E%3CP%3ESo%2C%20there's%20a%26nbsp%3B.docx%20file%26nbsp%3Bin%20the%20documents%20folder%20of%20a%20channel.%20If%20you%20open%20it%2C%20then%20click%20to%20edit%20it%20%3CEM%3Ein%20Teams%3C%2FEM%3E%2C%20the%20file%20gets%20locked%20so%20that%20you%20cannot%2C%20say%2C%20move%20it%20to%20another%20folder%20once%20you're%20done%20with%20your%20edits.%20However%2C%20if%20you%20instead%20choose%20to%20edit%20the%20file%20either%20in%20the%20desktop%20Office%20or%20Office%20Online%2C%20you're%20free%20to%20move%20the%20file%20from%20one%20folder%20to%20another%20once%20you're%20done%20editing.%20I%20tested%20this%20many%20times%20with%20several%20different%20.docx%20files%20and%20got%20the%20same%20result%20every%20time%3B%20the%20moment%20the%20file%20is%20opened%20in%20the%20Teams%20Word%20editor%20it%20gets%20locked%20so%20that%20it%20cannot%20be%20moved%2C%20renamed%2C%20etc.%20(but%20the%20contents%20can%20still%20be%20edited%2C%20however)%20until%20after%20maybe%20several%20hours%20at%20least.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20solutions%20or%20fixes%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-204641%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-325473%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-325473%22%20slang%3D%22en-US%22%3E%3CP%3ESolution%3A%3C%2FP%3E%3CP%3E1.%20Go%20to%20'Office%20Upload%20Center'%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E2.%20Settings%20-%26gt%3B%20Delete%20cached%20files%3CSPAN%3E%26nbsp%3B(I%20checked%20the%20box%20for%20%22Delete%20files%20from%20the%20Office%20Doc..%20etc%22%20too%2C%20idk%20if%20that's%20a%20must)%3C%2FSPAN%3E%3CBR%20%2F%3E3.%20Logout%20of%20Microsoft%20Teams%20then%20login%20again%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E4.%20Check%20if%20you%20can%20delete%2C%20move%2C%20rename%20etc%20some%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it's%20not%20helping%2C%20i%20suggest%20a%20temporary%20workaround%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EOpen%20the%20file%20in%20SharePoint%20-%26gt%3B%20select%20it%20from%20the%20list%20-%26gt%3B%20Show%20Actions%20-%26gt%3B%20More%20-%26gt%3B%20Check%20out%20-%26gt%3B%20Checking%20Out%20is%20Done%20-%26gt%3B%20Try%20Delete%2FMove%20to%2FRename.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280696%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280696%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20file%20is%20locked%20for%20about%2010%20minutes%20and%20it's%20being%20locked%20by%20SharePoint.%20If%20you%20want%20to%20do%20concurrent%20editing%2C%20use%20a%20browser%20session%20or%20the%20Office%20desktop%20app%20to%20open%20the%20file.%20If%20you%20think%20Teams%20needs%20to%20update%20its%20editor%20to%20handle%20concurrent%20edits%2C%20use%20UserVoice%20to%20express%20your%20opinions.%20Complaining%20about%20a%20problem%20here%20won't%20do%20anything%20to%20change%20the%20situation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280687%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280687%22%20slang%3D%22en-US%22%3E%3CP%3EOct%2031%3A%20This%20is%20still%20an%20issue.%20very%20annoying%20to%20use%20teams%20to%20edit%20documents.%20File%20gets%20locked%20for%20indefinite%20amount%20of%20time.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-260262%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-260262%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20still%20a%20problem%20Mid%20Sept%202018.%26nbsp%3B%20Any%20updates%20on%20when%20the%20fix%20will%20be%20pushed%20to%20customers%3F%26nbsp%3B%20Or%20did%20I%20mis-read%20-%20is%20there%20a%20fix%20or%20only%20a%20work-around.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205680%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205680%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20the%20one%20hand%2C%20you%20do%20want%20SharePoint%20to%20lock%20a%20document%20because%20not%20everyone%20has%20the%20ability%20(or%20uses%20the%20right%20software)%20to%20do%20collaborative%20co-editing%20online.%20On%20the%20other%20hand%2C%20it's%20a%20pain%20that%20SharePoint%20keeps%20the%20lock%20in%20place%20and%20doesn't%20release%20it%20as%20quickly%20as%20you%20might%20like.%20Most%20times%20when%20I%20hit%20this%20problem%2C%20I%20wait%2010%20minutes%20and%20the%20lock%20expires...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-204696%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-204696%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Mikko!%3C%2FP%3E%3CP%3EThis%20is%20a%20familiar%20issue.%20Unfortunately%20there%20is%20no%20%22magic%22%20solution%20to%20this%20but%20there%20are%20some%20other%20posts%20that%20describes%20the%20same%20problem.%20They%20also%20mention%20some%20recommended%20resolutions%20that%20can%20be%20worth%20trying.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FFile-locking-issue%2Ftd-p%2F71185%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FFile-locking-issue%2Ftd-p%2F71185%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-keeping-files-locked-after-closing%2Ftd-p%2F186836%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-keeping-files-locked-after-closing%2Ftd-p%2F186836%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-414628%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-414628%22%20slang%3D%22en-US%22%3EWe%20experience%20the%20same%20thing%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F150994%22%20target%3D%22_blank%22%3E%40Mikko%20Sandt%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-666000%22%20slang%3D%22en-US%22%3ERe%3A%20Editing%20a%20file%20in%20the%20Teams%20online%20editor%20locks%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-666000%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F317193%22%20target%3D%22_blank%22%3E%40Martine_Langaard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20just%20experienced%20this%20issue%20this%20morning%20with%20one%20of%20our%20older%20.xls%20docs%2C%20after%20attempting%20all%20listed%20work%20around%20i%20could%20find%20-%20deleting%20office%20upload%20cache%2Fcheck%20out%2Fmove%20and%20rename.%20I%20downloaded%20the%20document%20to%20my%20desktop%20via%20share%20point%2Fopened%20it%20and%20saved%20it%20as%20.xlsx%20and%20re%20uploaded%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20document%20seems%20to%20be%20working%20fine%20for%20the%20moment.%20(fingers%20crossed)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20the%20very%20least%20downloading%20the%20document%20direct%20to%20the%20desktop%20-%20save%20as%20-%20and%20re%20uploading%20seems%20to%20provide%20some%20what%20of%20a%20work%20around%20if%20you%20are%20not%20having%20any%20luck%20with%20other%20suggested%20methods.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Mikko Sandt
Occasional Visitor

So, there's a .docx file in the documents folder of a channel. If you open it, then click to edit it in Teams, the file gets locked so that you cannot, say, move it to another folder once you're done with your edits. However, if you instead choose to edit the file either in the desktop Office or Office Online, you're free to move the file from one folder to another once you're done editing. I tested this many times with several different .docx files and got the same result every time; the moment the file is opened in the Teams Word editor it gets locked so that it cannot be moved, renamed, etc. (but the contents can still be edited, however) until after maybe several hours at least.

 

Any solutions or fixes?

8 Replies

Hi Mikko!

This is a familiar issue. Unfortunately there is no "magic" solution to this but there are some other posts that describes the same problem. They also mention some recommended resolutions that can be worth trying.

 

https://techcommunity.microsoft.com/t5/SharePoint/File-locking-issue/td-p/71185

 

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Teams-keeping-files-locked-after-closing/td-p...

 

 

 

Highlighted

On the one hand, you do want SharePoint to lock a document because not everyone has the ability (or uses the right software) to do collaborative co-editing online. On the other hand, it's a pain that SharePoint keeps the lock in place and doesn't release it as quickly as you might like. Most times when I hit this problem, I wait 10 minutes and the lock expires...

This is still a problem Mid Sept 2018.  Any updates on when the fix will be pushed to customers?  Or did I mis-read - is there a fix or only a work-around.

Oct 31: This is still an issue. very annoying to use teams to edit documents. File gets locked for indefinite amount of time.

The file is locked for about 10 minutes and it's being locked by SharePoint. If you want to do concurrent editing, use a browser session or the Office desktop app to open the file. If you think Teams needs to update its editor to handle concurrent edits, use UserVoice to express your opinions. Complaining about a problem here won't do anything to change the situation.

Solution:

1. Go to 'Office Upload Center' 
2. Settings -> Delete cached files (I checked the box for "Delete files from the Office Doc.. etc" too, idk if that's a must)
3. Logout of Microsoft Teams then login again 
4. Check if you can delete, move, rename etc some files.

 

If it's not helping, i suggest a temporary workaround:

 

Open the file in SharePoint -> select it from the list -> Show Actions -> More -> Check out -> Checking Out is Done -> Try Delete/Move to/Rename.

We experience the same thing @Deleted

@Martine_Langaard 

 

I have just experienced this issue this morning with one of our older .xls docs, after attempting all listed work around i could find - deleting office upload cache/check out/move and rename. I downloaded the document to my desktop via share point/opened it and saved it as .xlsx and re uploaded it.

 

The document seems to be working fine for the moment. (fingers crossed)

 

At the very least downloading the document direct to the desktop - save as - and re uploading seems to provide some what of a work around if you are not having any luck with other suggested methods.

 

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies