SOLVED
Home

Unable to Rename Documents in Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-280797%22%20slang%3D%22en-US%22%3EUnable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280797%22%20slang%3D%22en-US%22%3E%3CP%3EHi.%20%26nbsp%3BI%20create%20our%20meeting%20agendas%20by%20copying%26nbsp%3Ba%20template%20document%20in%20Teams.%20%26nbsp%3BI%20will%20edit%20the%20newly%20created%20doc%2C%20Close%20it%2C%20and%20try%20to%20rename%20the%20doc%20with%20the%20appropriate%20meeting%20name.%20%26nbsp%3BI%20am%20the%20only%20person%20that%20has%20opened%20the%20doc%2C%20I've%20closed%20the%20doc%20from%20editing%2C%20and%20am%20still%20in%20the%20same%20login%20session.%20%26nbsp%3BUsually%2C%20I%20receive%20an%20error%20that%20the%20docx%20cannot%20be%20renamed%20as%20it%20is%20locked.%20%26nbsp%3BSo%2C%20anytime%20I%20need%20to%20change%20the%20name%20of%20a%20docx%20in%20Teams%2C%20I%20have%20to%20copy%20the%20file%2C%20rename%20the%20copy%2C%20and%20delete%20the%20original.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThoughts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-280797%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ERename%20Files%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-379730%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-379730%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3BI%20just%20tried%20opening%20in%20SharePoint%20to%20rename%20and%20ran%20into%20the%20same%20error.%26nbsp%3B%20Thanks%20for%20the%20suggestion%20though%20-%20it%20was%20a%20great%20idea!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280815%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280815%22%20slang%3D%22en-US%22%3ETeams%20is%20probably%20caching%20it%20somehow%20and%20not%20letting%20it%20go.%20Like%20adam%20said%2C%20do%20the%20%22open%20in%20sharepoint%22%20asuming%20it's%20saved%20in%20a%20channel%2C%20otherwise%20go%20to%20your%20onedrive%20via%20web.%20Right%20click%20systray%20teams%20icon%20and%20quit.%20Wait%20a%20few%20minutes%20and%20see%20if%20it%20lets%20you.%3CBR%20%2F%3E%3CBR%20%2F%3EOr%20you%20could%20try%20renaming%20from%20the%20web%20onedrive%2Fsharepoint%20first%20before%20doing%20so%20I%20guess%20just%20to%20see%20if%20it%20lets%20you.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280810%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280810%22%20slang%3D%22en-US%22%3E5-10%20min%20as%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64907%22%20target%3D%22_blank%22%3E%40Chris%3C%2FA%3E%20wrote%20sounds%20much%20better%20%3A)%3C%2Fimg%3E%20my%20experience%20is%20a%20little%20longer%20but%20I%20hope%20he%20is%20right%20in%20your%20case!%E2%98%BA%EF%B8%8F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280809%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280809%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20using%20the%20desktop%20app.%20%26nbsp%3BDoes%20it%20work%20better%20online%3F%20%26nbsp%3BI've%20also%20waited%20overnight%2C%20just%20to%20see%20what%20would%20happen%20and%20the%20lock%20has%20remained%20in%20place.%20%26nbsp%3BThanks%20for%20the%20response!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280802%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280802%22%20slang%3D%22en-US%22%3EYes%2C%20this%20can%20happen!%20Egen%20you%20close%20the%20file%20in%20teams%20it%20CSN%20hold%20the%20file%20as%20locked!%20It%20usually%20let%20it%20go%20after%2010-15%20min!%3CBR%20%2F%3ETry%20rename%20the%20document%20in%20word%20before%20you%20close%20it%20instead!%20I%20think%20you%20could%20rename%20it%20if%20you%20do%20it%20in%20sharepoint%20as%20well%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280801%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20Rename%20Documents%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280801%22%20slang%3D%22en-US%22%3EIt's%20Teams%20%2F%20Office%20online%20putting%20the%20lock%20on%20it.%20Closing%20out%20doesn't%20release%20the%20lock%2C%20you%20have%20to%20wait%205-10%20minutes%20then%20rename.%20Annoying%20and%20an%20issue%20many%20have%20complained%20about.%3C%2FLINGO-BODY%3E
Highlighted
Dave Zahniser
New Contributor

Hi.  I create our meeting agendas by copying a template document in Teams.  I will edit the newly created doc, Close it, and try to rename the doc with the appropriate meeting name.  I am the only person that has opened the doc, I've closed the doc from editing, and am still in the same login session.  Usually, I receive an error that the docx cannot be renamed as it is locked.  So, anytime I need to change the name of a docx in Teams, I have to copy the file, rename the copy, and delete the original.  

 

Thoughts?

6 Replies
Solution
It's Teams / Office online putting the lock on it. Closing out doesn't release the lock, you have to wait 5-10 minutes then rename. Annoying and an issue many have complained about.
Yes, this can happen! Egen you close the file in teams it CSN hold the file as locked! It usually let it go after 10-15 min!
Try rename the document in word before you close it instead! I think you could rename it if you do it in sharepoint as well

I'm using the desktop app.  Does it work better online?  I've also waited overnight, just to see what would happen and the lock has remained in place.  Thanks for the response!

5-10 min as @Chris wrote sounds much better :) my experience is a little longer but I hope he is right in your case!☺️
Teams is probably caching it somehow and not letting it go. Like adam said, do the "open in sharepoint" asuming it's saved in a channel, otherwise go to your onedrive via web. Right click systray teams icon and quit. Wait a few minutes and see if it lets you.

Or you could try renaming from the web onedrive/sharepoint first before doing so I guess just to see if it lets you.

@Chris Webb I just tried opening in SharePoint to rename and ran into the same error.  Thanks for the suggestion though - it was a great idea!

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
201 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies