SOLVED

Cannot Release Lock on SharePoint Online File

%3CLINGO-SUB%20id%3D%22lingo-sub-59694%22%20slang%3D%22en-US%22%3ECannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59694%22%20slang%3D%22en-US%22%3E%3CP%3ESharePoint%20thinks%20a%20user%20still%20has%20a%20lock%20on.%20%26nbsp%3BI%20can't%20adminsitratively%20do%20anything%20with%20the%20file%20online.%20%26nbsp%3BThis%20has%20been%20going%20on%20for%20almost%20a%20day.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe've%20cleared%20cache%2C%20closed%20Excel%20on%20his%20computer%2C%20cleared%20out%20some%20local%20cashe%20directories%2C%20rebooted%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENothing%20is%20clearing%20up%20this%20lock.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20I%20want%20to%20do%20is%20delete%20the%20file%20at%20this%20point%2C%20and%20I%20can't%20even%20do%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20are%20my%20options%20as%20a%20Global%20Admin%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-59694%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394281%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394281%22%20slang%3D%22en-US%22%3EThis%20is%20very%20frustrating%20%3A(%3C%2Fimg%3E%20I've%20tried%20all%20the%20suggestions%20above%2C%20from%20Mac%20and%20Windows%2C%20no%20luck.%20There's%20this%20Word%20doc%20on%20SharePoint%20Online%2C%20locked%20by%20me%2C%20which%20I%20can't%20rename%20or%20move.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-388719%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-388719%22%20slang%3D%22en-US%22%3EThat%20worked%20for%20me!%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-365199%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-365199%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20opening%20the%20Word%20document%20in%20Word%2C%20clicking%20File%2C%20clicking%20Manage%20Document%2C%20%22Check%20Out%22%20is%20grayed%20out.%20So%2C%20I'm%20unable%20to%20checkout%2FcheckIn.%20I%20created%20the%20document%2C%20I%20am%20one%20of%20the%20owners%20of%20the%20MS%20Teams%20group%2C%20and%20from%20within%20properties%20it%20says%20the%20file%20is%20locked%20by%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360368%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360368%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20solved%20the%20problem%20for%20me%2C%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-354917%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354917%22%20slang%3D%22en-US%22%3E%3CP%3E%22...and%20Close%20it%22%20That%20was%20the%20ticket%20for%20me.%20Gracefully%20close%20the%20document%20using%20File-%26gt%3BClose%20in%20the%20client%20app.%20Previously%2C%20I%20was%20just%20X'ing%20out%20of%20the%20client%20and%20still%20could%20not%20delete%20the%20file%20from%20SP.%20Thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309803%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309803%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20my%20solution%20was%20to%20close%20all%20Chrome%20windows%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309497%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309497%22%20slang%3D%22en-US%22%3EHi%20Sebastian%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20too%20experience%20this%20issue%2C%20as%20do%20most%20people%20I%20suspect.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20haven't%20had%20the%20issue%20for%20a%20while%2C%20but%20one%20suggested%20solution%20that%20I%20have%20read%20is%3A%3CBR%20%2F%3E%3CBR%20%2F%3ERestore%20the%20locked%20out%20file%20to%20a%20previous%20version.%20That%20essentially%20kicks%20the%20user%20(who%20the%20file%20thinks%20is%20editing)%20out%20and%20allows%20you%20to%20then%20rename%2F%20delete%2F%20move%20etc%20the%20file%20again.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309453%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309453%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2368%22%20target%3D%22_blank%22%3E%40Zoltan%20Bagyon%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EThis%20is%20a%20very%20frustrating%20known%20issue%20in%20SP%20Online%2C%20and%20I%20can't%20really%20understand%20why%20we%20don't%20get%20an%20admin-tool%20(via%20PS%2C%20for%20example)%20to%20manage%20it.%3C%2FP%3E%3CP%3EMy%20greatest%20concern%20is%2C%20what%20I've%20experienced%20many%20times%2C%20that%20the%2010%20minute%20timeframe%20MS%20promise%20for%20auto-unlock%20is%20simply%20not%20true%20and%20it%20took%20much-much%20longer%20to%20get%20access%20back%20to%20the%20file.%20Also%20the%20workaround%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F899709%2Fyou-receive-a-filename-is-locked-for-editing-by-another-user-message-when-you-try-to-modify-a-document-in-sharepoint-even-though-you-are-the-user-who-previously-opened-the-document%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethey%20suggest%20here%3C%2FA%3E%20haven't%20ever%20worked%20for%20me.%20So%20my%20user%20(and%20admin)%20experience%20is%20that%20whenever%20this%20issue%20occurs%2C%20I%20have%20no%20other%20tools%20to%20fix%20it%20than%20waiting%2C%20and%20I%20have%20to%20tell%20the%20same%20to%20my%20users.%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3ESame%20Problem%20here%20with%20Sharepoint%20online%20after%20making%20changes%20to%20excel%20in%20a%20flow.%20The%20Excel%20file%20is%20locked%20for%20hours.%20I%20read%20a%20lot%20of%20things%2C%20but%20all%20solutions%20I%20found%20are%20not%20for%20SP%20Online%20(office%20365)%20but%20for%20SP%20on%20premise.%20For%20SP%20on%20premise%20are%20very%20easy%20solutions%20with%20powershell%2C%20but%20in%20SP%20Online%20we%20don't%20have%20something%20like%20%22Get-Spweb%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Somebody%20knows%20a%20solution%20to%20unlock%20files%20fast%20in%20SP%20Online%3F%3C%2FP%3E%3CP%3E-%20Ore%20any%20idea%20how%20to%20prevent%20Excel%20file%20locks%20after%20flow%20create%2Fmanipulate%2Fcopy%20excel%20files%20(also%20when%20the%20flow%20is%20crashing)%3F%3C%2FP%3E%3CP%3E-%20Any%20flow%20nodes%20to%20force%20an%20unlock%20available%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-292759%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-292759%22%20slang%3D%22en-US%22%3E%3CP%3ESharePoint%20Online%2C%20had%20this%20issue%20with%20a%20word%20file%20with%20%22abc%22%20written%20in%20it.%20Because%20I%20had%20locked%20it%20I%20could%20not%20edit%20the%20file%20in%20word%20online%2C%20edit%20the%20properties%20in%20Sharepoint%20online%20or%20delete%20it.%20And%20I%20had%20no%20idea%20where%20to%20deactivate%20the%20%22Lock%22.%3C%2FP%3E%3CP%3EI%20found%20the%20solution%20for%20my%20case%20in%20this%20thread%20somewhere-%20Open%20it%20in%20word%20local%20on%20PC%20and%20there%20i%20could%20edit%20the%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECause%20of%20the%20issue%3A%26nbsp%3B%20I%20was%20testing%20some%20list%20features%20with%20a%20lot%20of%20basically%20empty%20word%20files%20in%20it.%20And%20I%20might%20have%20had%20word%20online%20open%20in%20that%20word%20document%20when%20I%20added%20another%20column%20to%20the%20list%20that%20was%20mandatory%20to%20be%20filled%20out..%3C%2FP%3E%3CP%3EBut%20I'm%20not%20100%25%20sure%20on%20this%20because%20I'm%20old%20and%20some%20times%20I%20set%20of%20to%20do%20something%20just%20to%20end%20up%20looking%20into%20the%20fridge%20realizing%20I'm%20not%20hungry%20I%20struggle%20to%20remember%20what%20I%20was%20supposed%20to%20do..%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286966%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286966%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20one%20library%20and%20group%20of%20users%2C%20we%20have%20configured%20it%20to%20open%20files%20in%20their%20native%20app.%20Therefore%2C%26nbsp%3Bthe%20Word%20Online%20is%20bypassed%20directly%20for%20the%20Word%20App.%20These%20users%20don't%20appear%20to%20have%20the%20File%20Lock%20issue%20anymore.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20else%20noticed%20this%3F%20Does%20anyone%20else%20have%20a%20Library%20whereby%20the%20default%20is%20set%20to%20%22Open%20in%20Client%20Application%22%20and%20doesn't%20have%20the%20issue%20with%20docs%20in%20that%20Library%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20guess%20is%20that%20previously%20the%20Word%20doc%20opened%20in%20online%20mode%2C%20then%20they%20clicked%20%22Edit%20in%20Word%22%20and%20so%20it's%20opened%20in%20two%20places.%20They'd%20edit%20in%20Word%2C%20but%20something%20may%20have%20occurred%20(a%20cursor%20move%2C%20etc)%20whereby%20the%20Online%20version%20of%20the%20same%20doc%20was%20'edited'%20too%20-%20and%20that%20this%20*duopoly*%20is%20what%20causes%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20my%20assumption%20that%20this%20is%20what%20causes%20the%20File%20Lock%20issue%20and%20what%20needs%20to%20be%20focused%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-283220%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-283220%22%20slang%3D%22en-US%22%3E%3CP%3Eit%20seems%20my%20PC%20is%20smarter%20than%20yours%20and%20won't%20be%20bluffed%20-%20that%20didn't%20work%20for%20me%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-283215%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-283215%22%20slang%3D%22en-US%22%3EUnfortunately%20there%20is%20no%20CSOM%2FJSOM%20equivalent%20so%20it%20isn't%20possible%20to%20manually%20release%20a%20lock%20in%20SPO.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-283177%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-283177%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20problem%20is%20a%20result%20of%20Office%20Client%20setting%20a%20'lock'..%20that%20isn't%20a%20SharePoint%20check-out%20lock%2C%20and%20a%20network%20glitch%20misses%20clearing%20the%20lock.%20SharePoint%20usually%20notices%20within%2015%20or%2020%20minutes..%20but%20not%20always.%3CBR%20%2F%3EI%20found%20a%20way%20to%20release%20this%20lock%20on-premises%20using%20PowerShell.%20I%20would%20think%20there%20is%20a%20PnP%20version%20that%20does%20the%20same%20on%20SPO.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20neglected%20to%20document%20where%20I%20plagiarized%20this%20from%2C%20so%20I%20cannot%20credit%20the%20original%20author%3CBR%20%2F%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3CP%3E%23this%20script%20overrides%20a%20file%20lock%20that%20occasionally%20occurs%20when%20a%20file%20is%20opened%20in%20the%20client%2C%20but%20is%20closed%20unexpectantly.%3CBR%20%2F%3E%23%20locks%20are%20supposed%20to%20expire%20after%2010%20minutes%2C%20but%20that%20doesn't%20always%20happen%3CBR%20%2F%3E%23%20in%20this%20case%2C%20the%20file%20looks%20like%20it%20is%20checked%20in%2C%20but%20is%20locked%20for%20editing%3C%2FP%3E%3CP%3E%24url%20%3D%20%22https%3A%2F%2FWEBSITE%2FURL%2FHERE%22%3C%2FP%3E%3CP%3E%24fileurl%20%3D%20%22https%3A%2F%2FWEBSITE%2FURL%2FHERE%2FLockedFileName.xlsx%22%3C%2FP%3E%3CP%3E%24web%20%3D%20Get-SPWeb%20%24url%3CBR%20%2F%3Eif(%24web%20-ne%20%24null)%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24item%20%3D%20%24web.GetListItem(%24fileurl)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20if(%24item%20-ne%20%24null)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Write-Host%20%22Found%20file%20%22%20%24item.Title%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24item.File.CheckOutStatus%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24item.ReleaseLock%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%24item.File.ReleaseLock(%24item.File.LockId)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24userId%20%3D%20%24item.File.LockedByUser.ID%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24user%20%3D%20%24web.AllUsers.GetById(%24userId)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24impSite%20%3D%20New-Object%20Microsoft.SharePoint.SPSite(%24web.Url%2C%20%24user.UserToken)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24impWeb%20%3D%20%24impSite.OpenWeb()%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24impItem%20%3D%20%24impWeb.GetListItem(%24fileurl)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24impItem.File.ReleaseLock(%24impItem.File.LockId)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24impWeb.Dispose()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24impSite.Dispose()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24item.File.CheckOutStatus%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24web.Dispose()%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282952%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282952%22%20slang%3D%22en-US%22%3E%3CP%3ECan't%20thank%20you%20enough%20for%20this%20reply.%20Great%20job!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282466%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282466%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Word%20file%20in%20OneDrive%2Fsharepoint%20doesn't%20open%20in%20a%20new%20browser.%20It%20is%20locked%20by%20the%20ghost%20of%20me.%20I%20can't%20unlock%20it.%20I'm%20stymied.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282465%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282465%22%20slang%3D%22en-US%22%3E%3CP%3EDoesn't%20work%20for%20me.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20on%20a%20Mac.%20Using%20Chrome.%20A%20file%20I%20opened%20and%20edited%20is%20still%20locked%20by%20me.%20No%20one%20else%20has%20worked%20on%20it.%20I%20closed%20the%20browser.%20I%20shut%20Word.%20There%20is%20no%20unlock%20option.%20Does%20someone%20have%20step-by-step%20instructions%20to%20close%20a%20file%20that%20a%20ghost%20of%20myself%20has%20locked%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280328%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280328%22%20slang%3D%22en-US%22%3EWe're%20getting%20the%20locked%20out%20issue%20again%20today%2C%20by%20restoring%20a%20previous%20version%20and%20then%20restoring%20the%20correct%20version%2C%20this%20resolves%20the%20problem.%3CBR%20%2F%3E%3CBR%20%2F%3EMicrosoft%20needs%20to%20fix%20this%20permanently%20though.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279888%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279888%22%20slang%3D%22en-US%22%3EThis%20is%20funny%20but%20also%20frustrating!%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279866%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279866%22%20slang%3D%22en-US%22%3E%3CP%3EI%20particularly%20love%20this%20error%20combination.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20542px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F58547i4C78EED9C3B560C0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222018-10-30%2011_53_57-Table%20Test.xlsx.png%22%20title%3D%222018-10-30%2011_53_57-Table%20Test.xlsx.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EExcel%20says%20I'm%20the%20only%20one%20here%2C%20but%20I%20can't%20make%20changes%20since%20I'm%20not%20alone...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-277723%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-277723%22%20slang%3D%22en-US%22%3E%3CP%3Etry%20this%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOpen%20the%20file%20in%20office%20client%20in%20read%20only%20mode.%20As%20soon%20as%20it%20opened%20in%20the%20office%20client%2C%20then%20check%20it%20out.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-273655%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-273655%22%20slang%3D%22en-US%22%3ETo%20add%20to%20Trevor's%20post%2C%20any%20time%20a%20file%20is%20opened%20from%20SharePoint%2C%20regardless%20of%20using%20Office%20Online%20or%20the%20Office%20client%2C%20a%20lock%20state%20will%20be%20set.%20If%20we're%20only%20looking%20at%20opening%20files%20using%20the%20Office%20client%2C%20and%20file%20check%20out%20is%20not%20required%20in%20the%20SharePoint%20doc%20library%2C%20then%20the%20lock%20state%20is%20determined%20by%20the%20end%20user's%20Office%20client.%20If%20the%20user%20has%20Office%20365%20Pro%20Plus%20Click%20to%20Run%2C%20and%20is%20on%20the%20Monthly%20update%20channel%2C%20then%20the%20user%20will%20always%20set%20a%20co-authoring%20lock%20unless%20checking%20out%20a%20file.%20If%20on%20say%2C%20the%20Office%20365%20Pro%20Plus%20MSI%20client%2C%20then%20any%20time%20a%20user%20opens%20an%20Excel%20file%20from%20SharePoint%2C%20the%20lock%20state%20will%20ALWAYS%20be%20an%20exclusive%20lock%20since%20Office%202016%20%2F%20Office%20365%20Pro%20Plus%20MSI%20cannot%20co-author%20with%20Excel%20files%20in%20the%20client.%20Because%20a%20lock%20state%20will%20always%20be%20applied%20when%20opening%20files%2C%20if%20a%20file%20has%20an%20exclusive%20lock%20set%20and%20SharePoint%20is%20never%20told%20the%20end%20user%20is%20done%20editing%20said%20file%2C%20the%20file%20lock%20will%20remain%20until%20the%20lock%20either%20expires%20or%20SharePoint%20is%20told%20the%20user%20who%20set%20the%20lock%20is%20done%20with%20the%20file.%20Regardless%20of%20lock%20type%20(Co-authoring%20or%20Exclusive)%2C%20If%20a%20lock%20is%20applied%20to%20a%20file%2C%20it%20cannot%20be%20renamed%2C%20moved%2C%20or%20deleted.%20However%20It%20can%20still%20be%20copied%20or%20downloaded%20locally.%20If%20the%20Office%20client%20crashes%20while%20saving%20the%20file%2C%20or%20the%20internet%20connection%20drops%2C%20the%20pending%20file%20information%20will%20show%20up%20in%20the%20MS%20upload%20center%20where%20it%20can%20be%20pushed%20back%20to%20SharePoint%2C%20thus%20releasing%20the%20lock.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262421%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262421%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20fix%2C%20I%20will%20try%20this%20next%20time!%20Be%20nice%20for%20a%20permanent%20fix%20by%20Microsoft%20though........%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262377%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262377%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20discovered%20a%20strange%20variation%20of%20this%20issue%3A%3C%2FP%3E%3CP%3EWhen%20clicking%20a%20document%2C%20Word%20Online%20will%20open%20the%20document%20in%20a%20new%20browser%20tab.%3C%2FP%3E%3CP%3EIf%20you%20close%20that%20tab%20before%20Word%20Online%20has%20completed%20loading%2C%20a%26nbsp%3Bdocument%20lock%20has%20already%20been%20set.%3C%2FP%3E%3CP%3EBut%20not%20released.%20Even%20if%20you%20open%20the%20same%20document%20with%20the%20same%20user%20again.%3C%2FP%3E%3CP%3EUsers%20are%20able%20to%20edit%20the%20document%2C%20because%20of%20the%20co-authoring%20feature.%3C%2FP%3E%3CP%3EBut%20you%20cannot%20rename%20%2F%20delete%26nbsp%3Bor%20restore%20versions.%3C%2FP%3E%3CP%3EYou%20will%20get%20the%20error%20%22The%20file%20...%20is%20locked%20for%20shared%20use%20by%20%3CTHE%20last%3D%22%22%20user%3D%22%22%20who%3D%22%22%20edited%3D%22%22%20the%3D%22%22%20document%3D%22%22%3E%22%3C%2FTHE%3E%3C%2FP%3E%3CP%3EUntil%20the%20lost%20lock%20has%20been%20kicked%20by%20some%20cloud-service%20job.%20Normally%20means%20next%20morning...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261871%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261871%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20solution%20I%20found%20was%20to%20Restore%20the%20locked%20out%20file%20to%20a%20previous%20version.%20That%20essentially%20kicks%20the%20user%20(who%20the%20file%20thinks%20is%20editing)%20out%20and%20allows%20you%20to%20then%20rename%2F%20delete%2F%20move%20etc%20the%20file%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20persistent%20issue%20with%20something%20fundamental%20to%20Office%20365%20and%20seriously%20needs%20looking%20in%20to%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F14429%22%20target%3D%22_blank%22%3E%40Office%20Microsoft%3C%2FA%3E%26nbsp%3B!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-260860%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-260860%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20would%20be%20nice%20if%20I%20could%20actually%20download%20Word.%20I'm%20using%20an%20Education%20Office%20365%20email%20for%20my%20documents%20and%20I%20can't%20exactly%20find%20a%20way%20to%20actually%20download%20apps%20themselves.%20I%20guess%20I'm%20going%20to%20be%20stuck%20with%20a%20broken%20Word%20document%20forever.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-253273%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-253273%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20a%20lot%20Doug.%20This%20issue%20was%20driving%20me%20nuts%20today.%20Thanks%20to%20your%20post%20I%20am%20sane%20again.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-252177%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-252177%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20seems%20we%20are%20waiting%20on%20a%20major%20update%2C%20hopefully%20autumn%20this%20year.%3C%2FP%3E%3CP%3EAs%20I%20understood%20MS%20is%20working%20on%20the%20full%20integration%20of%20SharePoint%2C%20OneDrive%20and%20Teams%20regarding%20file%20handling.%20The%20bug%20in%20Teams%20on%20locking%20files%20when%20doing%20online%20or%20in%20Teams%20editing%20is%20also%20a%20result%20from%20this%20not%20being%20properly%20integrated%20yet.%20Also%20complete%20security%20management%20is%20involved.%20Let's%20hope%20MS%20is%20not%20overstepping%20its%20capabilities%20here%20and%20will%20find%20a%20solution%20soon.%20This%20locking%20issue%20is%20really%20blocking%20global%20adoption%20and%20deployment%20from%20as%20well%20classic%20SharePoint%20as%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-243048%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-243048%22%20slang%3D%22en-US%22%3EAlso%20having%20this%20issue%20here%2C%20on%20and%20off.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20was%20a%20suspected%20issue%20with%20Chrome%20a%20few%20months%20ago%2C%20so%20we%20updated%20Chrome%20and%20that%20seem%20to%20resolve%20the%20problem%2C%20but%20it%20is%20back%20again.%3CBR%20%2F%3E%3CBR%20%2F%3EVery%20off-putting%20for%20new%20users%20of%20SharePoint.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242491%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242491%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20also%20experiencing%20this%20issue%2C%2C%20and%20the%20page%20you%20sent%20cannot%20be%20found.%26nbsp%3B%20%26nbsp%3BPlease%20advise%20the%20suggested%20fix%20for%20this%20problem...%26nbsp%3B%20thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-236636%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-236636%22%20slang%3D%22en-US%22%3EOver%20a%20year%20later%2C%20your%20investigative%20work%20still%20helps%20users%2C%20thanks%20Doug.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-235847%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-235847%22%20slang%3D%22en-US%22%3EDoug%2C%20thank%20you%20so%20much!%20The%20check%20out%20check%20in%20and%20open%20the%20file%20in%20the%20actual%20program%20and%20not%20the%20online%20version%20really%20worked.%20%3D)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-235713%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-235713%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20someone%20opens%20an%20Office%20file%20in%20the%20Office%20Online%20feature%20--%26gt%3B%20the%20file%20is%20locked!%3C%2FP%3E%3CP%3EVery%20nasty%20when%20supporting%20automated%20processes...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIts%20very%20ugly%3A%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20339px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F43507iF91AC26AD63AF6A7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22ScreenHunter_03%20Aug.%2022%2012.14.jpg%22%20title%3D%22ScreenHunter_03%20Aug.%2022%2012.14.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIts%20very%20user%20unfriendly%3A%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20451px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F43509iF7AE88BCE386AC58%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22ScreenHunter_04%20Aug.%2022%2012.31.jpg%22%20title%3D%22ScreenHunter_04%20Aug.%2022%2012.31.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMaybe%20an%20idea%20to%20support%20%3D%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F330318-sharepoint-administration%2Fsuggestions%2F15681144-solution-for-the-file-filename-is-locked-for-ex%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F330318-sharepoint-administration%2Fsuggestions%2F15681144-solution-for-the-file-filename-is-locked-for-ex%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-227560%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-227560%22%20slang%3D%22en-US%22%3ESees%20like%20I%20have%20the%20exact%20same%20issue%20as%20you%20describe%20here.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-227559%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-227559%22%20slang%3D%22en-US%22%3E%3CP%3EI%20seems%20that%20i%20have%20the%20exact%20same%20problem%20as%20you%20describe.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224475%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224475%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20time%20I%20encountered%20this%2C%20I%20realized%20I%20had%20the%20file%20open%20in%20a%20different%20browser%20tab%20which%20was%20minimized%20and%20out-of-view.%20So%2C%20my%20mistake%2C%20I%20really%20did%20have%20the%20file%20locked%20for%20use%20by%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217770%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217770%22%20slang%3D%22en-US%22%3EFor%20Microsoft%20Teams%20MS%20aknowledged%20a%20global%20issue%20with%20the%20Teams%20vs%20SharePoint%20vs%20OneDrive%20vs%20security%20services%20integration.%20Development%20team%20is%20looking%20at%20it.%20Solution%20can%20only%20be%20expected%20at%20a%20new%20update%20what%20can%20take%20still%20months.%20(On%20Office365)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216906%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216906%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20went%20through%20this%20whole%20situation%20with%20a%20user%20who%20had%20created%20a%20file%20last%20night%2C%20edited%20it%20and%20shared%20it%20with%20two%20other%20employees%20who%20also%20edited%20the%20file%20last%20night.%3C%2FP%3E%3CP%3EThis%20morning%20no%20one%20could%20edit%20the%20file%20due%20to%20multiple%20locks.%3C%2FP%3E%3CP%3EWhen%20trying%20to%20delete%20it%20said%20user%20had%20the%20file%20locked%20for%20offline%20editing.%3C%2FP%3E%3CP%3EWhen%20opening%20the%20file%20in%20local%20Word%2C%20the%20file%20showed%20it%20was%20being%20edited%20offline%20by%20said%20user%20on%204%20different%20devices.%3C%2FP%3E%3CP%3EI%20found%20that%20there%20is%20a%20document%20cache%20in%20the%20Upload%20Center.%3C%2FP%3E%3CP%3EOnce%20we%20logged%20the%20user%20in%20to%20every%20device%20they%20use%20and%20deleted%20the%20troublesome%20file%20from%20his%20Upload%20Center%20document%20cache%2C%20the%20file%20was%20able%20to%20be%20deleted.%3C%2FP%3E%3CP%3EI%20hope%20that%20helps%20someone.%3C%2FP%3E%3CP%3EBrian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216475%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216475%22%20slang%3D%22en-US%22%3E%3CP%3ELocks%20is%20a%20complex%20topic%20and%20technically%20a%20%3CEM%3Eclient%3C%2FEM%3E%20or%20%3CEM%3Enetwork%3C%2FEM%3E%20issue.%20SharePoint%20supports%20co-authoring%20locks%20unless%20you%20have%20Check%20In%2FOut%20enabled%20on%20the%20library.%20Client%20side%20locks%20will%20occur%20if%20Office%20cannot%20negotiate%20a%20co-author%20lock%20falling%20back%20to%20an%20exclusive%20lock.%20As%20others%20have%20pointed%20out%2C%20the%20upload%20center%20can%20contribute%20to%20locking%20and%20is%20one%20of%20the%20first%20things%20you%20should%20check.%20You%20can%20trace%20the%20calls%20via%20Fiddler%20on%20the%20client.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20the%20technical%20explanation%20from%20PSS%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20a%20user%20attempts%20to%20open%20an%20Office%20file%20hosted%20on%20SharePoint%20in%20the%20Office%20client%2C%20there%20is%20an%20expected%20set%20of%20network%20calls%20we%20should%20be%20seeing%20unless%20there%20is%20a%20problem.%20Once%20a%20user%20clicks%20that%20Office%20file%20to%20open%20in%20client%2C%20code%20on%20the%20SharePoint%20page%20and%20(if%20using%20Internet%20Explorer)%20the%20Office%20365%20browser%20addon%20sends%20a%20command%20to%20initialize%20the%20client%20application%20(Word%2C%20Excel%2C%20PowerPoint).%20Once%20the%20Office%20client%20application%20starts%20launching%2C%20Office%20will%20start%20a%20HTTP%20conversation%20with%20SharePoint.%20If%20the%20Office%20call%20is%20already%20authenticated%2C%20the%20Office%20will%20be%20returned%20the%20file%20content.%20However%2C%20if%20not%20already%20authenticated%2C%20which%20is%20usually%20expected%20to%20be%20the%20case%2C%20Office%20will%20negotiate%20for%20Authentication%20with%20SharePoint.%20This%20process%20happens%20through%20two%20networking%20calls%20called%20OPTIONS%20calls.%20The%20first%20OPTIONS%20call%20is%20anonymous%20and%20expected%20to%20be%20rejected%20by%20SharePoint%20as%20to%20establish%20what%20types%20of%20authentication%20SharePoint%20will%20accept.%20The%20second%20options%20call%20will%20include%20the%20requested%20authentication%20information%20to%20SharePoint.%20If%20SharePoint%20accepts%20the%20second%20options%2C%20call%2C%20it%20will%20return%20a%20METHOD%20call%2C%20identifying%20what%20network%20verbs%20can%20be%20used%20to%20communicate%20with%20it%20(OPTIONS%2C%20GET%2C%20LOCK%2C%20PROPFIND%2C%20and%20POST%20are%20all%20examples%20of%20verbs%20for%20this%20process).%20Once%20the%20verbs%20are%20established%20the%20Office%20client%20will%20make%20a%20POST%20network%20call%20that%20requests%20the%20metadata%20for%20the%20file%2C%20adds%20the%20user%E2%80%99s%20session%20lock%20state%20(coauthor%20lock%20or%20exclusive%20lock)%20and%20to%20request%20to%20open%20the%20file%20from%20the%20CellStorage%20web%20service%20in%20SharePoint.%20If%20the%20Office%20client%20has%20never%20accessed%20the%20document%20before%2C%20the%20entire%20document%20will%20be%20downloaded%20from%20SharePoint%20and%20cached%20in%20the%20Office%20Document%20Cache.%20If%20the%20Office%20client%20has%20opened%20the%20file%20before%2C%20then%20it%20is%20already%20cached%20and%20only%20the%20changes%20will%20be%20downloaded.%20At%20this%20point%2C%20the%20Office%20file%20will%20open%20in%20the%20Office%20client.%20This%20entire%20process%20happens%20between%20a%20few%20milliseconds%20to%20a%20few%20seconds.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216233%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216233%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20looks%20like%20there%20are%20different%20solutions%20or%20should%20I%20say%20workarounds%20for%20the%20same%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWouldn't%20it%20be%20nice%20if%20Microsoft%20came%20out%20with%20a%20clear%20and%20concise%20and%20permanent%20solution!%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20understand%20that%20sometimes%20a%20file%20is%20locked%20by%20a%20different%20user%20for%2C%20what%20I%20think%2C%20are%20obvious%20reasons.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20do%20not%20understand%20is%20that%20the%20file%20is%20locked%20by%20myself%20for%20editing.%26nbsp%3B%20Yet%20when%20I%20try%20to%20access%20it%20for%20this%20exact%20purpose%20SharePoint%20won't%20let%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHaving%20to%20wait%20for%20a%20short%20period%20for%20the%20file%20to%20unlock%20is%20just%20not%20good%20enough%20and%20that%20doesn't%20always%20work%20anyway.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216121%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216121%22%20slang%3D%22en-US%22%3E%3CP%3EI%20had%20the%20same%20issue%20and%20this%20worked%20for%20me%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EClose%20Excel%3C%2FP%3E%3CP%3EOpen%20the%20document%20library%20where%20the%20file%20is%20located.%20Select%20the%20file%20and%20delete.%3C%2FP%3E%3CP%3EGo%20to%20the%20recycle%20bin%20and%20restore%20the%20file.%26nbsp%3B%3C%2FP%3E%3CP%3EOpen%20the%20file%20again%20and%20nos%20I%20can%20edit.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-214868%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-214868%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20what%20worked%20for%20me.%20After%20syncing%20the%20library%20and%20finding%20the%20lock%20symbol%20on%20all%20the%20files%20in%20the%20library%20displayed%20in%20my%20File%20Explorer%2C%20this%20is%20what%20I%20did%3A%3C%2FP%3E%3COL%3E%3CLI%3ERemove%20all%20required%20column%20status%20from%20all%20fields.%20Be%20sure%20to%20include%20the%20default%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ETitle%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efield.%20You%20might%20have%20to%20drill%20into%20the%20Document%20and%2For%20Item%20Content%20Types%20to%20get%20to%20it.%20(I%20have%20found%20that%20it%20seems%20to%20be%20set%20as%20a%20required%20field%20by%20default%20in%20the%20standard%20Document%20content%20type)%3C%2FLI%3E%3CLI%3EEnable%20version%20control%20inclusive%20of%20drafts%2C%20be%20sure%20it%20is%20set%20for%20'anyone%20who%20can%20read'.%20Save.%20Then%20return%20and%20disable%20it.%26nbsp%3B%3C%2FLI%3E%3CLI%3E%3CEM%3EEnable%20Content%20Approval%20and%20save.%20Then%20return%20and%20disable%20it.%3C%2FEM%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThe%20key%20one%2C%20for%20whatever%20reason%2C%20was%20%233.%20When%20I%20did%20that%2C%20a%20message%20box%20popped%20up%20on%20my%20monitor%20saying%20something%20like%20'you%20can%20now%20edit%20your%20files%20in%20OneDrive'.%20When%20I%20checked%20my%20File%20Explorer%2C%20the%20locks%20were%20gone.%20I%20verified%20today%20that%20other%20users%20who%20are%20syncing%20this%20library%20to%20their%26nbsp%3BFile%20Explorer%26nbsp%3Bare%20also%20now%20able%20to%20edit%20the%20files%20(the%20lock%20was%20gone%20for%20them%2C%20too).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20is%20my%20original%20post....%20LOL....%20I%20was%20pretty%20excited%20to%20see%20that%20this%20worked.%20I%20hope%20it%20does%20for%20you%2C%20too.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CEM%3EOut%20of%20desperation%2C%20I%20enabled%20Content%20Approval%20and%20then%20disabled%20Content%20Approval%20and.....%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3ELow%20and%20behold%20I%20got%20a%20pop%20up%20from%20ODB%20saying%20'You%20can%20now%20edit%20your%20files'.%20I%20opened%20my%20File%20Explorer....yes...wait%20for%20it....and%20the%20LOCK%20WAS%20GONE!%26nbsp%3B%20OMG%2C%20I%20spent%20hours%20on%20this%20to%20find%20that%20it%20was%20one%20check%20box%20for%20a%20feature%20I'd%20never%20enabled%20for%20the%20library.%20Why%20it%20was%20affecting%20its%20performance%2C%20I%20haven't%20a%20clue%2C%20but%20it%20worked.%20WHEW!%3C%2FEM%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-214072%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-214072%22%20slang%3D%22en-US%22%3E%3CP%3EYes!!%20That%20worked%20for%20me.%26nbsp%3B%20%26nbsp%3BI've%20had%20it%20several%20times%20now%20where%20I%20can't%20change%20some%20attribute%20values%20on%20the%20document%20(PowerPoint%20in%20this%20case)%20because%20it%20is%20locked%20for%20editing%20by%20me!!%3C%2FP%3E%3CP%3EOpening%20the%20document%20in%20PowerPoint%2C%20checking%20it%20out%20and%20back%20in%20removed%20this%20lock%20and%20I%20was%20able%20to%20edit%20the%20attribute%20value%20in%20SharePoint.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174801%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174801%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20adding%20more%20info%20on%20this%2C%20I%20am%20uploading%20file%20'word%20document%26nbsp%3Bon%20SharePoint%20online%20using%20Office%20365%20group%20sites%2C%20Not%20Microsoft%20team.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174800%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174800%22%20slang%3D%22en-US%22%3ENo%20-%20none%20of%20our%20users%20are%20on%20Microsoft%20Teams%3CBR%20%2F%3Eta%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174794%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174794%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20the%20user%20in%20question%20using%20Microsoft%20Teams%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20so%2C%20this%20fixed%20the%20problem%20for%20me.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%22%3CSPAN%3EThe%20fix%20in%20my%20case%20was%20to%20confirm%20I%20was%20unable%20to%20make%20changes%20from%20within%20SharePoint%20and%20then%20go%20back%20to%20Teams.%26nbsp%3B%20Use%20the%20option%20%22Open%20in%20Word%22%20and%20not%20%22Open%20in%20Word%20Online%22%20or%20%22Open%20in%20SharePoint%22.%26nbsp%3B%20Once%20I%20had%20it%20open%20in%20Word%2C%20I%20went%20to%20%22File%20%26gt%3B%20Info%20%26gt%3B%20Manage%20Document%22%2C%20cycled%20through%20Check%20out%20and%20Check%20In%20successfully.%20and%20then%20saved.%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174791%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174791%22%20slang%3D%22en-US%22%3E%3CP%3Edidn't%20work%20for%20me.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUpon%20further%20investigation%2C%20the%20'file%20lock'%20happening%20for%20one%20user%20only%20not%20for%20others.%20I%20am%20administrator%20of%20Office%20365%20and%20not%20happening%20for%20me%2C%20also%20checked%20with%20one%20of%20my%20colleague%20who%20has%20contribute%20permission%20on%20site%20and%20no%20file%20lock%20for%20him.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eanother%20solution%3F%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172436%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172436%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20was%20the%20solution%20that%20we%20came%20up%20with%2C%20that%20has%20now%20resolved%20all%20of%20our%20issues.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EMake%20sure%20the%26nbsp%3B%22webclient%20service%22%20on%20client%20side%20is%20running%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EFind%20registry%20key%3A%20%3CSTRONG%3EHKLM%5CSYSTEM%5CCurrentControlSet%5CServices%5CWebClient%5CParameters%3C%2FSTRONG%3E%20on%20their%20machines.%3C%2FLI%3E%0A%3CLI%3EFind%20value%3A%20%3CSTRONG%3ESupportLocking(if%20no%2C%20please%20add)%2C%20set%20its%20value%20to%200%2C%20want%20to%20just%20disable%20lock%20feature.%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EThis%20disables%20the%20locking%20feature%20via%20the%20registry%20and%20does%20not%20impact%20any%20other%20services.%3C%2FP%3E%0A%3CP%3EI%20would%20suggest%20that%20you%20test%20it%20one%201%20machine%20first%20to%20see%20if%20it%20resolves%20the%20issue%20prior%20to%20pushing%20it%20out%20to%20all%20production%20machines.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECheers%3C%2FP%3E%0A%3CP%3EStewart%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172430%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172430%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20same%20problem%20for%20Office%20365%20group%20site.%20in%20my%20case%3A%3C%2FP%3E%0A%3CP%3E-%20Creating%20file%20online%20example%20'WORD'%20and%20save%20from%20browser%20itself.%3C%2FP%3E%0A%3CP%3E-%20Share%20file%20with%20someone%20within%20organization%3C%2FP%3E%0A%3CP%3E-%20copy%20file%20to%20other%20folder%20in%20same%20site%3C%2FP%3E%0A%3CP%3Eand%20then%20I%20have%20use%20case%20to%20remove%20file.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20getting%20error%20message%20the%20file%20is%20locked%20by%20other%20user%20and%20can't%20delete%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20let%20me%20know%20if%20someone%20got%20exact%20solution%20of%20this%20issues.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-145363%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-145363%22%20slang%3D%22en-US%22%3ESame%20issues%20here%20with%20several%20users.%20Upload%20Center%20seems%20to%20be%20out%20of%20control.%20There%20is%20clearly%20something%20wrong.%20I%20found%20this%20old%20post%20%3CA%20href%3D%22http%3A%2F%2Frobertgreiner.com%2F2014%2F12%2Ffixing-pending-upload-issues-with-microsoft-office-upload-center%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Frobertgreiner.com%2F2014%2F12%2Ffixing-pending-upload-issues-with-microsoft-office-upload-center%2F%3C%2FA%3E.%20Anyone%20here%20having%20experience%20with%20virus%20scanner%20software%20interfering%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-134447%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-134447%22%20slang%3D%22en-US%22%3EI%20still%20have%20this%20issue%20just%20recently%20actually.%20It%20is%20locked%20by%20me%2C%20but%20I%20can%20manage%20to%20view%20it%20once%20in%20a%20while%20and%20close%20out%20-%20I%20do%20see%20other%20users%20on%20it%20as%20well%20(in%20Word%20client%20and%20Word%20Online).%20I'd%20like%20to%20just%20delete%20this%20file%20from%20our%20SharePoint%20Online%20document%20library%20altogether%2C%20but%20it%20keeps%20saying%20I%20can't%20because%20it's%20locked.%20%3A(%3C%2Fimg%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20other%20solution%20you%20can%20think%20of%20is%20helpful.%20Thanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-126089%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126089%22%20slang%3D%22en-US%22%3Eperfect%2C%20worked%20like%20a%20champ!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-114827%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-114827%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20sir%20have%20saved%20me%20from%20having%20a%20headache%20on%20a%20Monday!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJoseph%20Rothwell%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-87313%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-87313%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20the%20same%20issue%20but%20in%20our%20case%2C%20its%20Sharepoint%202013%2C%20On-premise.%3C%2FP%3E%3CP%3EUser%20has%20opened%20a%20doc%20in%20a%20library%2C%20made%20changes%20to%20word%20doc%2C%20tried%20to%20save%20and%20close.%3C%2FP%3E%3CP%3EThe%20document%20is%20not%20able%20to%20be%20checked%20back%20in%20by%20domainname%5Cuser.%3C%2FP%3E%3CP%3EWe%20then%20notice%20that%20the%20file%20is%20in%20th%20Upload%20Centre%20as%20%22Upload%20failed%22%20..%20%26nbsp%3Band%20says%20check%20out%20for%20editing%20by%20the%20above%20user.%3C%2FP%3E%3CP%3EThe%20impact%20is%20that%20other%20users%20have%20gon%20in%20and%20made%20changes%20after%2C%20so%20versioning%20is%20turned%20on%20which%20means%20the%20file%20has%20been%20overwritten.%20We%20resolve%20this%20by%20comparing%20the%20document%20with%20the%20current%20versions%20in%20SP.%20%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20tried%20all%20of%20the%20usual%20fixes%2C%20like%20clearing%20the%20cache%20etc.%2C%3C%2FP%3E%3CP%3EWe%20have%20also%20noticed%20that%20even%20though%20Microsoft%20say%20that%20the%20file%20is%20locked%20after%20closing%20for%2010%20mins%2C%20in%20one%20instance%20it%20took%20more%20than%2030%20minutes%2C%20but%20most%20cases%20not%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-82326%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-82326%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20the%20same%20problem%20on%20a%20wordfile.%20SP%20Online%2C%20Library%20has%20major%20versions%20enabled%20but%20no%20check-out%20required.%20I'm%20getting%20%22the%20file%20is%20locked%20for%20shared%20use%20by....myself%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20opened%20the%20document%20in%20word%20browser%20and%20wrote%20some%20stuff.%20It%20saved%20and%20I%20navigated%20back%2C%20when%20I%20try%20to%20change%20a%20property%20in%20a%20choice%20column%2C%20I%20get%20that%20error%20message.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20it%20is%20a%20very%20misleading%20error%20message%26nbsp%3Bbecause%20I%20thought%20that%20co-authoring%20would%20also%20not%20work%20when%20I%20read%20%22locked%20for%20shared%20use..%22.%20But%20co-authoring%20works%2C%20no%20problem.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESolution%20for%20me%20is%20to%20open%20document%20in%20client%20and%20close%20it.%20Then%20I%20can%20change%20properties%20without%20any%20problems.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDon't%20like%20this....%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-71138%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-71138%22%20slang%3D%22en-US%22%3E%3CP%3EI%20now%20have%20a%20locked%20file%20(Word%20DOCX)%20that%20has%20remained%20locked%20for%20a%20few%20day.%20The%20funny%20thing%20is%20the%20user%20that%20locked%20it%20is%20me!%20I%20cannot%20edit%2C%20save%2C%20delete%20or%20anything.%20I%20have%20resorted%20to%20downloading%20an%20offline%20copy%20to%20do%20my%20work.%20Other%20complicating%20factors.%20MS%20Teams%20is%20overlayed%20on%20SharePoint%2C%20the%20MS%20Upload%20Center%20has%20run%20a%20few%20times%20and%20the%20cache%20is%20clear.%20Oh%2C%20and%20I%20have%20tried%20resolving%20this%20in%20both%20Teams%20and%20SharePoint%20itself.%20I%20remember%20this%20sort%20of%20problem%20back%20in%20the%20days%20of%20SP%202003%20and%20SharePoint%20Designer%20was%20a%20big%20help%20in%20those%20days%2C%20sure%20do%20wish%20we%20still%20had%20that.%20I'll%20be%20watching%20this%20thread%20for%20solutions.%20~%20Doug%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUPDATE%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20just%20unlocked%20the%20file%20in%20question.%26nbsp%3B%20To%20reiterate%20from%20before%2C%20I%20received%20messages%20that%20somehow%20the%20system%20thought%20I%20was%20personally%20responsible%20for%20the%20lock%20out%20and%20I%20was%20unable%20to%20control%20this%20file.%26nbsp%3B%20As%20mentioned%2C%20I%20am%20in%20an%20working%20environment%20of%20SharePoint%20%2F%20Teams.%26nbsp%3B%20I%20had%20assumed%20that%20Teams%20was%20a%20collaboration%20tool%20layered%20on%20to%20SharePoint%20and%20that%20somehow%20SharePoint%20would%20have%20ultimate%20control%20over%20the%20file%20pemissions.%26nbsp%3B%20Apparently%20not!%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20fix%20in%20my%20case%20was%20to%20confirm%20I%20was%20unable%20to%20make%20changes%20from%20within%20SharePoint%20and%20then%20go%20back%20to%20Teams.%26nbsp%3B%20Use%20the%20option%20%22Open%20in%20Word%22%20and%20not%20%22Open%20in%20Word%20Online%22%20or%20%22Open%20in%20SharePoint%22.%26nbsp%3B%20Once%20I%20had%20it%20open%20in%20Word%2C%20I%20went%20to%20%22File%20%26gt%3B%20Info%20%26gt%3B%20Manage%20Document%22%2C%20cycled%20through%20Check%20out%20and%20Check%20In%20successfully.%20and%20then%20saved.%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20this%20tells%20me%20is%20that%20somehow%20the%20MS%20Teams%20application%20is%20also%20managing%20check%20outs.%26nbsp%3B%20One%20other%20possibility%20I%20am%20not%20able%20to%20confirm%20is%20that%20OneDrive%20for%20Business%20is%20somehow%20involved%20when%20storing%20the%20offline%20temproary%20file.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20still%20plan%20to%20watch%20this%20thread.%26nbsp%3B%20Best%20of%20luck%2C%20~%20Doug%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-60267%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-60267%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20a%20very%20frustrating%20known%20issue%20in%20SP%20Online%2C%20and%20I%20can't%20really%20understand%20why%20we%20don't%20get%20an%20admin-tool%20(via%20PS%2C%20for%20example)%20to%20manage%20it.%3C%2FP%3E%3CP%3EMy%20greatest%20concern%20is%2C%20what%20I've%20experienced%20many%20times%2C%20that%20the%2010%20minute%20timeframe%20MS%20promise%20for%20auto-unlock%20is%20simply%20not%20true%20and%20it%20took%20much-much%20longer%20to%20get%20access%20back%20to%20the%20file.%20Also%20the%20workaround%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F899709%2Fyou-receive-a-filename-is-locked-for-editing-by-another-user-message-when-you-try-to-modify-a-document-in-sharepoint-even-though-you-are-the-user-who-previously-opened-the-document%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethey%20suggest%20here%3C%2FA%3E%20haven't%20ever%20worked%20for%20me.%20So%20my%20user%20(and%20admin)%20experience%20is%20that%20whenever%20this%20issue%20occurs%2C%20I%20have%20no%20other%20tools%20to%20fix%20it%20than%20waiting%2C%20and%20I%20have%20to%20tell%20the%20same%20to%20my%20users.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-59786%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59786%22%20slang%3D%22en-US%22%3EThis%20has%20been%20a%20known%20%22issue%22%20of%20SharePoint%20for%20years...sometimes%20you%20get%20this%20%22insane%22%20problem%20of%20having%20files%20locked%20and%20nobody%20is%20actually%20editing%20them...just%20wait%20some%20times%20and%20SharePoint%20will%20release%20back%20to%20you%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-59741%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59741%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20seen%20a%20few%20reports%20of%20something%20that%20sounds%20like%20this%20this%20in%20our%20tenant%20this%20week%2C%20mostly%20from%20Mac%20users.%20The%20error%20message%20appears%20in%20the%20MS%20Upload%20center%20when%20the%20person%20is%20trying%20to%20save%20a%20file%20they've%20been%20editeing.%20It%20says%20%22The%20file%20...%20is%20locked%20for%20shared%20use%20by%20%3CTHE%20same%3D%22%22%20user%3D%22%22%3E%20%5Bmembership%5D.%20The%20files%20are%20not%20large%2C%20e.g.%2C%20a%2045%20KB%20Word%20doc.%20Haven't%20found%20a%20cure%2C%20yet.%3C%2FTHE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERichard%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-59736%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59736%22%20slang%3D%22en-US%22%3EUgh%2C%20it%20self%20resolves%20itself%20shortly%20after%20posting%20on%20here...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-59705%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59705%22%20slang%3D%22en-US%22%3E%3CP%3ENo%20checked%20out%2C%20%22locked%20%26nbsp%3Bby%20user%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKinda%20like%20they%20opened%20it%20in%20Excel%20and%20still%20have%20it%20open%20so%20no%20one%20can%20else%20can%20open%2Fsave%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-59703%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59703%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20mean%20that%20the%20file%20is%20stuck%20on%20checked%20out%20state%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-500922%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-500922%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20problem%20with%20files%20getting%20locked%20still%20happening%20in%20April%20of%202019.%26nbsp%3B%20Found%20out%20the%20hard%20way%20after%20opening%20a%20file%20in%20Teams%20using%20%22Open%20in%20Word%22%2C%20editing%20for%2045%20minutes%20only%20to%20notice%20it%20was%20%22Read%20Only%22.%26nbsp%3B%20Found%20a%20file%20stuck%20in%20the%20upload%20center%20on%20Pending.%26nbsp%3B%20Removed%20it%2C%20fortunately%20I%20had%20saved%20the%20Read%20Only%20version%20to%20a%20local%20file%20and%20was%20able%20to%20copy%20and%20paste.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20seems%20to%20happen%20more%20often%20than%20not%20when%20editing%20files%20in%20SP%20Online.%26nbsp%3B%20As%20an%20admin%20I%20kinda%20get%20what's%20going%20on.%26nbsp%3B%20But%20this%20will%20drive%20users%20nuts.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-504070%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-504070%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20just%20had%20the%20same%20problem%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F637%22%20target%3D%22_blank%22%3E%40Brent%20Ellis%3C%2FA%3E%26nbsp%3Bbut%20in%20a%20Modern%20Experience%20Library%20and%20none%20of%20the%20answers%20of%20this%20thread%20helped%20a%20bit.%20Anyway%20I've%20managed%20to%20%22move%22%20the%20item%20to%20my%20OneDrive%20using%20the%20new-ribbon%20option.%20That%20worked%20and%20allowed%20me%20to%20finally%20delete%20the%20document.%3C%2FP%3E%3CP%3EProbably%20not%20an%20solution%20for%20other%20use%20cases%20but%20it%20worked%20for%20me.%20I%20hope%20this%20helps%20to%20some%20other%20SharePointers.%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-507633%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-507633%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you!%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48911%22%20target%3D%22_blank%22%3E%40Doug%20Powell%3C%2FA%3E%26nbsp%3B%20Had%20the%20same%20issue%2C%20but%20without%20the%20interface%20to%20Teams.%26nbsp%3B%20Was%20able%20to%20fix%20by%20checking%20out%2C%20checking%20in%20through%20the%20SharePoint%20document%20library.%26nbsp%3B%20Very%20Helpful!%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111345iA607AAC965C3FFB5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Annotation%202019-05-01%20084749.png%22%20title%3D%22Annotation%202019-05-01%20084749.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-569563%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-569563%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F331182%22%20target%3D%22_blank%22%3E%40AJWOODY%3C%2FA%3E%26nbsp%3B%20can%20you%20please%20add%20a%20screenshot%20of%20how%20you%20checked%20into%20the%20document%20library%20after%20checking%20out%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-569588%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-569588%22%20slang%3D%22en-US%22%3EIs%20anyone%20having%20this%20same%20problem%20in%20Edge.%20Was%20having%20the%20same%20'File%20is%20locked'%20issue%20in%20Chrome%20but%20not%20experienced%20it%20so%20far%20in%20edge%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-635851%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-635851%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239109%22%20target%3D%22_blank%22%3E%40David%20DeKeizer%3C%2FA%3E%26nbsp%3Bthat%20worked%20for%20SP2016%20on-prem%20as%20well.%20Thank%20you%20so%20much!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-645213%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-645213%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20also%20what%20I%20usually%20have%20to%20do%20is%20open%20a%20previous%20version.%26nbsp%3B%20I%20usually%20get%20lucky%20and%20it%20shows%20me%20having%20opened%20one%20earlier%20that%20day%20when%20it%20locked.%26nbsp%3B%20But%20on%20the%20rare%20occasion%20it%20does%20not%2C%20and%20I%20am%20forced%20to%20open%20an%20older%20one%20and%20loose%20data.%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F86439%22%20target%3D%22_blank%22%3E%40Michael%20Butterfield%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-667622%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-667622%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48911%22%20target%3D%22_blank%22%3E%40Doug%20Powell%3C%2FA%3E%26nbsp%3BThank%20you%20for%20your%20post%202%20years%20ago!%20It%20just%20worked%20after%20many%20frustrating%20minutes%20of%20the%20same%20around%20and%20around%20with%20Sharepoint%20and%20moving%20a%20file%20because%20of%20a%20file%20lock.%20Very%20much%20appreciated%20you%20sharing%20your%20experiences--it%20helped%20me%20and%20hope%20it%20continues%20to%20help%20others.%20I%20hope%20MS%20fixes%20this%20with%20more%20helpful%20error%20dialogs%2C%20but%20in%20the%20meantime%2C%20thanks!%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-768502%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-768502%22%20slang%3D%22en-US%22%3E%3CP%3EPotential%20work-around%20-%20I%20had%20this%20issue%20specifically%20with%20a%20PowerPoint%20file%20-%20I%20simply%20opened%20the%20slide%20show%20again%20via%20PowerPoint%20(the%20same%20way%20I%20had%20it%20open%20before)%20then%20rather%20than%20just%20closing%20PowerPoint%20with%20the%20%22X%22%20-%20I%20used%20the%20File%20Menu%20and%20selected%20%22Close%22%20-%20this%20closes%20the%20slide%20show%20and%20leaves%20PowerPoint%20open.%26nbsp%3B%20as%20soon%20as%20I%20did%20this%2C%20the%20lock%20was%20released.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-779577%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779577%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F314982%22%20target%3D%22_blank%22%3E%40carlSteffen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGlad%20to%20hear%20that%20worked.%20That's%20not%20a%20workaround%20however%2C%20that's%20how%20the%20product%20works.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20close%20out%20of%20a%20file%20stored%20in%20SharePoint%20%2C%20Exiting%20the%20file%20gracefully%20(File%20%26gt%3B%20Close%2C%20Red%20'x'%2C%20etc.)%20your%20machine%20sends%20information%20back%20to%20SharePoint%20telling%20SharePoint%20that%20you're%20done%20with%20the%20file%20and%20the%20lock%20can%20be%20released.%20Once%20SharePoint%20receives%20that%20Trigger%2C%20it%20releases%20the%20file's%20lock.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFile%20locks%20will%20always%20happen%20when%20opening%20files%20from%20SharePoint%2C%20that%20is%20100%25%20how%20the%20product%20works.%20Where%20issues%20can%20be%20seen%20is%20releasing%20the%20lock%20states.%20If%20you're%20not%20co-authoring%2C%20(whether%20this%20is%20disabled%20for%20you%20somehow%20or%20if%20your%20Office%20client%20doesn't%20support%20it)%2C%20then%20you'll%20set%20an%20exclusive%20file%20lock.%20This%20means%20only%20the%20user%20who%20opened%20the%20file%20from%20SharePoint%20(The%20user%20who%20sets%20the%20lock%20state)%20will%20be%20able%20to%20edit%20the%20file.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnless%20the%20user%20exits%20the%20file%20gracefully%2C%20or%20the%20lock%20expires%2C%20no%20one%20else%20can%20edit%20the%20file.%20If%20the%20user%20does%20not%20exit%20from%20the%20file%20gracefully%20(Application%20crashed%2C%20unexpected%20Power%20Reset%2C%20etc)%2C%20then%20the%20lock%20will%20be%20released%20via%20an%20expiration%20setting%20built%20into%20SharePoint.%20If%20the%20lock%20state%20doesn't%20expire%2C%20the%20user%20can%20re-open%20the%20file%20and%20exit%20gracefully%20to%20try%20and%20remove%20the%20lock.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you're%20seeing%20the%20file%20lock%20does%20not%20release%20after%20a%20user%20exits%20gracefully%20from%20the%20file%2C%20you%20could%20be%20looking%20at%20an%20issue%20with%20SharePoint%2C%20your%20local%20machine%2C%20or%20your%20Office%20client.%20More%20often%20than%20not%2C%20these%20lock%20issues%20aren't%20actually%20bugs%20or%20errors%20and%20come%20down%20to%20understanding%20how%20these%20products%20work%20and%20how%20the%20Office%20files%20are%20being%20opened%20or%20used.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-788294%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-788294%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F159832%22%20target%3D%22_blank%22%3E%40Alan%20Umanos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20get%20that%2C%20and%20agree%20with%20you%20that%20it%20should%20work%20regardless.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I'm%20experiencing%20is%20when%20closing%20via%20the%20%22red%20x%22%20in%20the%20top%20right%20corner%20PowerPoint%20doesn't%20seem%20to%20consistently%20release%20the%20locks.%26nbsp%3B%20It's%20as%20though%20it's%20firing%20some%20async%20process%20to%20release%20the%20lock%20and%20PowerPoint%20sometimes%20exits%20before%20the%20unlock%20is%20actually%20taken%20care%20of.%26nbsp%3B%20I%20obviously%20can't%20say%20for%20certain%20that%20this%20is%20what's%20happening%2C%20I'm%20only%20trying%20to%20illustrate%2Fdescribe%20the%20behavior%20as%20I%20observe%20it.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECall%20it%20what%20you%20want%2C%20I've%20not%20yet%20experienced%20the%20locked%20file%20issue%20(yet)%20when%20I%20close%20via%20the%20file%20menu.%26nbsp%3B%20Maybe%20it's%20a%20coincidence%2C%20maybe%20not.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wish%20there%20was%20a%20feature%20in%20SharePoint%20to%20forcefully%20remove%20the%20lock%20(maybe%20there%20is%20for%20admins%20but%20in%20this%20case%20it's%20the%20back%20end%20of%20MS%20Teams%20and%20I%20don't%20think%20we%20really%20have%20full%20admin%20rights)%20because%20sometimes%20the%20users%20with%20the%20locks%20have%20left%20for%20the%20day%20and%20I%20can't%20track%20them%20down%20to%20open%2Fclose%20a%20document.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20full%20write%20up%20on%20locks%20etc%20in%20SharePoint%20-%20it%20is%20a%20great%20write-up%20of%20what%20I%20believed%20to%20be%20true%20(though%20didn't%20definitively%20know)%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-788411%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-788411%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F314982%22%20target%3D%22_blank%22%3E%40carlSteffen%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENo%20worries!%20Glad%20I%20could%20be%20of%20help.%20There%20is%20likely%20a%20way%20to%20manually%20release%20the%20lock%20using%20CSOM%20for%20SharePoint%20online%20(it%20is%20100%25%20possible%20to%20release%20the%20lock%20manually%20in%20SharePoint%20on-Premise%20using%20PowerShell)%20though%20this%20would%20be%20a%20custom%20script%20that%20you'll%20need%20to%20write%20yourself.%3CBR%20%2F%3E%3CBR%20%2F%3ERegarding%20MS%20teams%2C%20that%20actually%20shouldn't%20matter%20for%20File%20locks.%20The%20Office%20viewer%20in%20MS%20Teams%20is%20actually%20just%20a%20browser%20window%20that%20leverages%20Office%20for%20the%20Web.%20It's%20the%20same%20code%20used%20when%20opening%20Office%20files%20for%20editing%20in%20your%20browser%20(a%20WOPI%20frame).%20MS%20Teams%20administration%20will%20have%20no%20part%20in%20releasing%20file%20locks.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-788456%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-788456%22%20slang%3D%22en-US%22%3EThere%20is%20no%20way%20to%20release%20a%20lock%20via%20CSOM.%20The%20ask%20has%20been%20made%20to%20the%20PG%2C%20though.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-806837%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-806837%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F166048%22%20target%3D%22_blank%22%3E%40Brian%20Sarlo%3C%2FA%3E%26nbsp%3BTHANK%20YOU!%26nbsp%3B%20Teams%2FSharePoint%20locked%20two%20key%20files%20that%20I%20was%20working%20on%20and%20would%20not%20release%20the%20lock.%26nbsp%3B%20Your%20solution%20of%20clearing%20cache%20in%20the%20upload%20center%20solved%20the%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-812286%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-812286%22%20slang%3D%22en-US%22%3EOnce%20I%20removed%20the%20document%20from%20the%20MS%20Office%202016%20Upload%20Center%20Cache%2C%20I%20was%20able%20to%20add%20a%20new%20version%20to%20the%20document%20on%20Sharepoint(O365).%3CBR%20%2F%3EThank%20you%20for%20this%20tp.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-873130%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-873130%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F637%22%20target%3D%22_blank%22%3E%40Brent%20Ellis%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EK%20so%20I%20had%20a%20similar%20situation%20where%20I%20wanted%20to%20rename%20a%20word%20doc%20and%20I%20kept%20getting%20an%20error%20that%20the%20file%20was%20locked%20by%20my%20own%20user%20account.%20I%20was%20not%20able%20to%20delete%20the%20document%20for%20the%20same%20reason.%3C%2FP%3E%3CP%3EI%20logged%20off%20and%20back%20on%20thinking%20that%20would%20clear...%20it%20never.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20finally%20opened%20the%20word%20doc%20on%20line%20then%20chose%20the%20open%20via%20desktop%20option.%20From%20there%20I%20did%20a%20%22save%20as%22%20and%20changed%20the%20name%20and%20re-saved%20it%20to%20the%20same%20SharePoint%20site.%3C%2FP%3E%3CP%3EAt%20that%26nbsp%3Bpoint%20I%20was%20then%20I%20was%20allowed%20to%20delete%20the%20old%20file.%3C%2FP%3E%3CP%3ENot%20sure%20why%20this%20worked%20but%20it%20did.%3C%2FP%3E%3CP%3EHope%20this%20helps%20someone%20else.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-875398%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-875398%22%20slang%3D%22en-US%22%3EI'm%20glad%20you%20were%20able%20to%20save%20your%20document%2C%20but%20you%20killed%20the%20versioning%20by%20deleting%20the%20original%20file%20and%20upload%20a%20new%20one.%20Also%20realize%20that%20if%20you%20shared%20the%20doc%2C%20the%20original%20link%20will%20be%20broken.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-896453%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-896453%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48911%22%20target%3D%22_blank%22%3E%40Doug%20Powell%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20totally%20works%20-%20thanks.%3C%2FP%3E%3CP%3EThe%20file%20I%20was%20trying%20to%20edit%20was%20locked%20by%20me.%20Probably%20due%20to%20freeze%20at%20one%20point%2C%20which%20made%20me%20hard%20close%20the%20app.%3C%2FP%3E%3CP%3EI%20went%20to%20Start%20Menu%20and%20right%20click%20on%20Excel%20to%20open%20this%20file%20on%20desktop%20from%20history%20list.%3C%2FP%3E%3CP%3EWent%2C%20as%20you%20said%2C%20to%20%22File-%26gt%3BInfo-%26gt%3BManage%20Workbook%20and%20check%20the%20file%20out%20from%20there.%20Worked%20perfectly!%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-962546%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-962546%22%20slang%3D%22en-US%22%3E%3CP%3EI%20also%20had%20this%20issue.%20Here%20are%20the%20steps%20that%20worked%3A%3C%2FP%3E%3COL%3E%3CLI%3Eopen%20file%20in%20browser-%26gt%3B%20edit%20and%20save%3C%2FLI%3E%3CLI%3Eopen%20file%20in%20desktop%20app%20-%26gt%3Bupload%20failed%20error%26nbsp%3B%3C%2FLI%3E%3CLI%3Ego%20to%20file-%26gt%3Bmanage-%26gt%3Bcheckout-%26gt%3Bedit%20now%20possible%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1159410%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1159410%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48911%22%20target%3D%22_blank%22%3E%40Doug%20Powell%3C%2FA%3E%26nbsp%3B.%20Your%20solution%20helped%20me%20to%20unlock%20a%20PowerPoint%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1233378%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1233378%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F637%22%20target%3D%22_blank%22%3E%40Brent%20Ellis%3C%2FA%3E%26nbsp%3BI%20couldn't%20find%20any%20way%20to%20do%20it%20through%20SharePoint%20directly.%26nbsp%3B%20However%20I%20did%20find%20a%20way%20to%20use%20PowerShell%20to%20release%20the%20lock.%26nbsp%3B%20The%20command%20is%20ReleaseLock%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eas%20in...%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%24item.File.ReleaseLock(%24item.File.LockId)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wrote%20about%20it%20here...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsharepoint%2Fcannot-release-lock-on-sharepoint-online-file%2Fm-p%2F59694%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsharepoint%2Fcannot-release-lock-on-sharepoint-online-file%2Fm-p%2F59694%3C%2FA%3E%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-1363529%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1363529%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F238553%22%20target%3D%22_blank%22%3E%40Charles%20Boisseau%3C%2FA%3E%26nbsp%3BJust%20experienced%20the%20same%20issue%20with%20a%20user.%20To%20remedy%20I%20cleared%20the%20cache%20in%20Microsoft%20Upload%20Centre%2C%20no%20luck.%20Then%20I%20cleared%20the%20cache%20in%20Microsoft%20Upload%20Centre%202013%2C%20no%20luck.%20Then%20I%20cleared%20the%20internet%20history%20and%20cache%2C%20no%20luck.%20Then%20I%20stopped%20the%20users%20One%20Drive%20Sync%2C%20Success!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20user%20had%20accidentally%20clicked%20on%20the%20%22Sync%22%20button%20at%20the%20top%20of%20the%20library%20which%20had%20created%20a%20folder%20in%20One%20Drive%20which%20had%20not%20yet%20synced%20with%20SharePoint.%20I%20removed%20the%20synced%20folder%20from%20one%20drive%20to%20prevent%20this%20recoccuring.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20if%20any%20of%20the%20actions%20I%20took%20prior%20to%20stopping%20the%20One%20Drive%20sync%20had%20any%20effect%2C%20but%20the%20above%20resolved%20the%20issue.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1391364%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1391364%22%20slang%3D%22en-US%22%3E%3CP%3E2020%20baby%20yeah!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20tried%20every%20singe%20suggestion%20in%20this%20thread.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20go%20to%20Sharepoint%20and%20go%20to%20the%20excel%20file.%20All%20good%20Now%20it's%20time%20to%20open%20in%20excel.%20Nah%20mate!%20Locked%20by%20another%20user.%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20I%20ask%20myself...%20Why%20and%20now%3F%20This%20is%20Sharepoint%20and%20I%20can%20work%20away%20just%20find%20when%20on%20the%20document%20in%20Sharepoint.%20It's%20not%20locked%20and%20I%20can%20open%20in%20excel%20with%20any%20other%20user%20without%20an%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20can't%20check%20it%20out-%20I%20get%20an%20error%20and%20it%20only%20allows%20me%20to%20see%20a%20portion%20of%20the%20error%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20just%20stupid.%20Why%20isn't%20this%20fixed%20yet%3F%3CBR%20%2F%3E%3CBR%20%2F%3EWhy%20do%20we%20have%20to%20mess%20around%20with%20a%20bunch%20of%20workarounds%20that%20don't%20even%20work%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1391434%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1391434%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668664%22%20target%3D%22_blank%22%3E%40MattStOnge%3C%2FA%3E%26nbsp%3BThe%20error%20you're%20seeing%20is%20expected.%20Anytime%20you%20open%20an%20Office%20file%20from%20SharePoint%20(any%20version%2C%20SharePoint%202010%2C%202013%2C%202016%2C%202019%2C%20Online%2C%20etc)%20using%20Office%20(2010%2C%202013%2C%202016%2C%202019%2C%20365%20Pro%20Plus%2C%20Office%20for%20Mac%2C%20etc)%2C%20you%20are%20guaranteed%20to%20set%20a%20file%20lock.%20That's%20how%20the%20product%20works.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20two%20types%20of%20locks%20that%20can%20be%20set%2C%20and%20Exclusive%20file%20lock%2C%20and%20a%20Co-authoring%20file%20lock.%20Which%20lock%20type%20is%20set%20is%20dependent%20on%20a%20few%20key%20factors.%20When%20opening%20Office%20files%2C%20SharePoint%20will%20always%20attempt%20to%20set%20a%20co-authoring%20lock%20first.%20If%20a%20co-authoring%20lock%20cannot%20be%20set%2C%20SharePoint%20falls%20back%20to%20an%20exclusive%20file%20lock.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExclusive%20file%20locks%20act%20exactly%20as%20their%20name%20implies.%20User%20opens%20the%20file%2C%20because%20of%20certain%20factors%20(addressed%20below)%2C%20an%20exclusive%20file%20lock%20is%20set%20by%20the%20user's%20session%20in%20SharePoint.%20As%20long%20as%20that%20lock%20is%20in%20place%20only%20the%20user%20who%20set%20the%20lock%20can%20edit%20the%20file.%20If%20the%20user%20saves%20the%20file%20when%20they're%20done%20and%26nbsp%3B%3CSTRONG%3Eproperly%20exits%20the%20file%26nbsp%3B%3C%2FSTRONG%3E(doesn't%20put%20the%20PC%20in%20sleep%20mode%20with%20the%20file%20open%2C%20doesn't%20just%20close%20the%20laptop%20lid%20and%20walk%20away%2C%20doesn't%20leave%20the%20file%20open%20for%20hours%20on%20end%2C%20and%20instead%20either%20uses%20file%20%26gt%3B%20Close%2C%20or%20waits%20for%20the%20file%20to%20completely%20save%2C%20then%20closes%20out%20of%20the%20client)%2C%20then%20Office%20can%20send%20the%20proper%20network%20traffic%20to%20indicate%20it's%20done%20with%20the%20file%20and%20SharePoint%20will%20release%20the%20lock.%20This%20is%20known%20as%20exiting%20gracefully%20from%20the%20file%2C%20and%20applies%20to%20both%20file%20lock%20types.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECo-Authoring%20file%20locks%20are%20applied%20when%20the%20file%20is%20in%20a%20state%20that%20allows%20co-authoring%20and%20if%20the%20user%20is%20in%20a%20client%20that%20supports%20co-authoring.%20Whenever%20a%20file%20is%20opened%20in%20Office%20Web%20Apps%2C%20Office%20Online%20Server%2C%20or%20Office%20for%20the%20web%2C%20where%20the%20file%20can%20be%20edited%20in%20the%20browser%2C%20a%20Co-authoring%20file%20lock%20will%20always%20be%20set.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECertain%20Office%20clients%20(installed%20on%20your%20Windows%20or%20Mac%20machines)%20do%20not%20fully%20support%20Co-Authoring.%20For%20example%2C%20Co-Authoring%20in%20Excel%20is%20only%20supported%20on%20Office%20365%20Pro%20Plus%20version%201808%20and%20newer.%20All%20other%20Office%20desktop%20clients%20do%20not%20allow%20for%20Excel%20co-authoring%2C%20and%20will%20always%20try%20to%20set%20an%20exclusive%20file%20lock.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOutside%20of%20the%20Office%20clients%2C%20there%20are%20other%20factors%20specific%20to%20the%20file%20and%20where%20the%20files%20stored%20that%20determine%20what%20file%20lock%20type%20is%20set.%20For%20example%2C%20all%20of%20the%20following%20to%20cause%20only%20Exclusive%20file%20locks%20to%20be%20set%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20SharePoint%20library%20where%20the%20files%20are%20stored%20has%20%22Checked%20required%20for%20editing%22%20enabled.%20Even%20if%20opened%20in%20the%20browser%2C%20only%20exclusive%20file%20locks%20can%20be%20set%20for%20files%20within%20such%20a%20document%20library.%3C%2FLI%3E%0A%3CLI%3EIRM%20controls%20on%20the%20SharePoint%20library%20or%20the%20file.%3C%2FLI%3E%0A%3CLI%3ESetting%20the%20registry%20key%20%22fsshttpoff%22%20to%20a%20value%20of%201%20(this%20is%20NEVER%20recommended)%3C%2FLI%3E%0A%3CLI%3ETurning%20off%20the%20OneDrive%20Sync%20client%20%22Use%20Office%20applications%20to%20sync%20Office%20files%20that%20I%20open%22%20setting%20(this%20should%20be%20left%20'On'%20by%20default).%3C%2FLI%3E%0A%3CLI%3EUsing%20the%20legacy%20Office%20file%20formats%20(*.doc%2C%20*.xls%2C%20*.ppt)%20instead%20of%20the%20current%20XML%20based%20file%20formats%20(*.xlsx%2C%20*.docx%2C%20*.pptx)%3C%2FLI%3E%0A%3CLI%3ESyncing%20files%20with%20the%20old%20and%20deprecated%20groove.exe%20OneDrive%20for%20Business%20sync%20client.%3C%2FLI%3E%0A%3CLI%3EAnd%20a%20few%20other%2C%20rarer%20factors.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668664%22%20target%3D%22_blank%22%3E%40MattStOnge%3C%2FA%3E%2C%20for%20you%2C%20it%20sounds%20like%20other%20users%20have%20set%20a%20co-authoring%20lock%20on%20the%20file%2C%20but%20your%20machine%20can%20only%20set%20exclusive%20file%20locks.%20Since%20the%20file%20is%20Excel%2C%20check%20that%20your%20Office%20client%20actually%20supports%20Excel%20Co-authoring.%20If%20you're%20not%20on%20the%20Office%20365%20Pro%20Plus%20client%20on%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fofficeupdates%2Fupdate-history-microsoft365-apps-by-date%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eany%20of%20the%20current%20update%20channel%20builds%26nbsp%3B%20(1902%2C%201908%2C%202002%2C%202003%2C%202004)%3C%2FA%3E%26nbsp%3Bthen%20you're%20never%20expected%20to%20be%20able%20to%20edit%20the%20Excel%20file%20in%20the%20excel%20client%20app%20in%20near%20real%20time%20with%20your%20colleagues.%20I%20would%20compare%20what%20version%20of%20Office%20you're%20using%20with%20that%20of%20your%20colleagues.%20If%20it's%20the%20same%20version%2C%20then%20your%20machine%20has%20another%20factor%20at%20play%20preventing%20you%20from%20joining%20the%20Excel%20file's%20Co-authoring%20session.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThis%20functionality%20is%20more%20than%20just%20SharePoint%20or%20Office%2C%20there%20is%20a%20lot%20more%20in%20play.%20What%20settings%20are%20set%20in%20the%20SharePoint%20Document%20library%2C%20on%20the%20file%20itself%2C%20in%20the%20Office%20client%2C%20on%20your%20windows%2Fmac%20machine%2C%20what%20group%20policy%20settings%20are%20set%20(if%20your%20local%20user%20account%20and%20machine%20are%20domain%20managed)%2C%20all%20of%20these%20matter%20and%20can%20affect%20what%20type%20of%20file%20lock%20your%20Office%20client%20can%20set%2C%20and%20by%20direct%20relation%2C%20what%20can%20be%20done%20with%20said%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1391591%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1391591%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F159832%22%20target%3D%22_blank%22%3E%40Alan%20Umanos%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20problem%20is%20that%20all%20the%20workstations%20are%20set%20up%20exactly%20the%20same%20with%20the%20same%20image.%3CBR%20%2F%3E%3CBR%20%2F%3EAll%20users%20except%20her%20can%20edit%20in%20Excel%20without%20an%20issue.%20At%20any%20given%20time%2C%20nobody%20is%20editing%20that%20document%20but%20it%20says%20it%20is%20locked%20when%20you%20try%20to%20edit%20with%20Excel%20just%20for%20that%20one%20user.%20Nobody%20else%20is%20having%20the%20problem.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20even%20went%20and%20imaged%20a%20whole%20new%20laptop%20for%20her%20with%20her%20profile.%20Went%20to%20Sharepoint%20to%20that%20document%2C%20said%20to%20open%20in%20excel.%20It%20worked%203%20times%20in%20a%20row%20and%20then%20didn't%203%20times.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20went%20back%20to%20her%20original%20laptop%20and%20when%20it's%20locked%20out%20I%20say%20%22Yeah%2C%20open%20and%20then%20notifiy%20when%20available%22.%20About%2030%20seconds%20later%2C%20office%20goes%20%22Yo%2C%20good%20news...your%20file%20is%20available%20to%20edit.%20Do%20you%20want%20to%20edit%3F%22%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20like%20%22Yeah....Ok%22%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20it%20goes%20%22Sucker...%20The%20file%20you%20are%20looking%20for%20C%3A%5CProfilename%5CFile%20location%7C%20no%20longer%20exists!%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1407466%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1407466%22%20slang%3D%22en-US%22%3EThis%20issue%20is%20making%20me%20want%20to%20cry%20now.%3CBR%20%2F%3EIt%20just%20keeps%20going%20and%20going.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1657924%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1657924%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F637%22%20target%3D%22_blank%22%3E%40Brent%20Ellis%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20same%20problem.%20In%20my%20case%2C%20it%20happens%20whenever%20I%20try%20to%20open%20a%20sharepoint%20file%20in%20excel%2C%20and%20excel%20always%20replies%20with%20a%20message%20saying%20the%20%22the%20file%20is%20corrupt%20and%20cannot%20be%20opened%22%20(translated).%20But%20this%20is%20not%20necessarily%20the%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20found%3A%20The%20mechanism%20seems%20to%20work%20by%20IP.%20So%2C%20if%20I%20work%20on%20my%20notebook%20using%20Wifi%20and%20then%20open%20the%20document%20in%20the%20browser%20excel%2C%20and%20then%20I%20dock%20to%20my%20workplace%20and%20have%20another%20network%2C%20I%20can't%20release%20the%20lock%20anymore%20that%20comes%20from%20the%20wifi.%20Even%20worse%3A%20if%20I%20opened%20it%20from%20my%20homeoffice%20place%2C%20I%20cannot%20release%20that%20lock%20anymore%20from%20my%20office%20workplace...%3C%2FP%3E%3CP%3ESo%2C%20the%20workaround%20for%20me%20(case%201)%20is%20to%20temporarily%20undock%20my%20device%2C%20then%20close%20the%20online%20excel%20browser%20tab%2C%20and%20then%20dock%20my%20device%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Valued Contributor

SharePoint thinks a user still has a lock on.  I can't adminsitratively do anything with the file online.  This has been going on for almost a day.

 

We've cleared cache, closed Excel on his computer, cleared out some local cashe directories, rebooted, etc.

 

Nothing is clearing up this lock.

 

All I want to do is delete the file at this point, and I can't even do that.

 

What are my options as a Global Admin?

88 Replies
Highlighted
Thanks for the fix, I will try this next time! Be nice for a permanent fix by Microsoft though........
Highlighted
To add to Trevor's post, any time a file is opened from SharePoint, regardless of using Office Online or the Office client, a lock state will be set. If we're only looking at opening files using the Office client, and file check out is not required in the SharePoint doc library, then the lock state is determined by the end user's Office client. If the user has Office 365 Pro Plus Click to Run, and is on the Monthly update channel, then the user will always set a co-authoring lock unless checking out a file. If on say, the Office 365 Pro Plus MSI client, then any time a user opens an Excel file from SharePoint, the lock state will ALWAYS be an exclusive lock since Office 2016 / Office 365 Pro Plus MSI cannot co-author with Excel files in the client. Because a lock state will always be applied when opening files, if a file has an exclusive lock set and SharePoint is never told the end user is done editing said file, the file lock will remain until the lock either expires or SharePoint is told the user who set the lock is done with the file. Regardless of lock type (Co-authoring or Exclusive), If a lock is applied to a file, it cannot be renamed, moved, or deleted. However It can still be copied or downloaded locally. If the Office client crashes while saving the file, or the internet connection drops, the pending file information will show up in the MS upload center where it can be pushed back to SharePoint, thus releasing the lock.
Highlighted

try this,

 

Open the file in office client in read only mode. As soon as it opened in the office client, then check it out.

Highlighted

I particularly love this error combination.

2018-10-30 11_53_57-Table Test.xlsx.png

Excel says I'm the only one here, but I can't make changes since I'm not alone...

Highlighted
This is funny but also frustrating!
Highlighted
We're getting the locked out issue again today, by restoring a previous version and then restoring the correct version, this resolves the problem.

Microsoft needs to fix this permanently though.
Highlighted

Doesn't work for me. 

 

I'm on a Mac. Using Chrome. A file I opened and edited is still locked by me. No one else has worked on it. I closed the browser. I shut Word. There is no unlock option. Does someone have step-by-step instructions to close a file that a ghost of myself has locked? 

Highlighted

The Word file in OneDrive/sharepoint doesn't open in a new browser. It is locked by the ghost of me. I can't unlock it. I'm stymied.

Highlighted

Can't thank you enough for this reply. Great job!

Highlighted

This problem is a result of Office Client setting a 'lock'.. that isn't a SharePoint check-out lock, and a network glitch misses clearing the lock. SharePoint usually notices within 15 or 20 minutes.. but not always.
I found a way to release this lock on-premises using PowerShell. I would think there is a PnP version that does the same on SPO.

I neglected to document where I plagiarized this from, so I cannot credit the original author
====================

#this script overrides a file lock that occasionally occurs when a file is opened in the client, but is closed unexpectantly.
# locks are supposed to expire after 10 minutes, but that doesn't always happen
# in this case, the file looks like it is checked in, but is locked for editing

$url = "https://WEBSITE/URL/HERE"

$fileurl = "https://WEBSITE/URL/HERE/LockedFileName.xlsx"

$web = Get-SPWeb $url
if($web -ne $null)
{
    $item = $web.GetListItem($fileurl)

    if($item -ne $null)
    {
        Write-Host "Found file " $item.Title
        $item.File.CheckOutStatus

        $item.ReleaseLock
        #$item.File.ReleaseLock($item.File.LockId)

        $userId = $item.File.LockedByUser.ID
        $user = $web.AllUsers.GetById($userId)

        $impSite = New-Object Microsoft.SharePoint.SPSite($web.Url, $user.UserToken);
        $impWeb = $impSite.OpenWeb();
        $impItem = $impWeb.GetListItem($fileurl)

        $impItem.File.ReleaseLock($impItem.File.LockId)

        $impWeb.Dispose()
        $impSite.Dispose()
        $item.File.CheckOutStatus
    }
    $web.Dispose()

}

=============

Highlighted
Unfortunately there is no CSOM/JSOM equivalent so it isn't possible to manually release a lock in SPO.
Highlighted

it seems my PC is smarter than yours and won't be bluffed - that didn't work for me :(

Highlighted

For one library and group of users, we have configured it to open files in their native app. Therefore, the Word Online is bypassed directly for the Word App. These users don't appear to have the File Lock issue anymore.

 

Has anyone else noticed this? Does anyone else have a Library whereby the default is set to "Open in Client Application" and doesn't have the issue with docs in that Library?

 

My guess is that previously the Word doc opened in online mode, then they clicked "Edit in Word" and so it's opened in two places. They'd edit in Word, but something may have occurred (a cursor move, etc) whereby the Online version of the same doc was 'edited' too - and that this *duopoly* is what causes the issue.

 

It's my assumption that this is what causes the File Lock issue and what needs to be focused on.

 

Highlighted

SharePoint Online, had this issue with a word file with "abc" written in it. Because I had locked it I could not edit the file in word online, edit the properties in Sharepoint online or delete it. And I had no idea where to deactivate the "Lock".

I found the solution for my case in this thread somewhere- Open it in word local on PC and there i could edit the files.

 

Cause of the issue:  I was testing some list features with a lot of basically empty word files in it. And I might have had word online open in that word document when I added another column to the list that was mandatory to be filled out..

But I'm not 100% sure on this because I'm old and some times I set of to do something just to end up looking into the fridge realizing I'm not hungry I struggle to remember what I was supposed to do..   

Highlighted

@Zoltan Bagyon wrote:

This is a very frustrating known issue in SP Online, and I can't really understand why we don't get an admin-tool (via PS, for example) to manage it.

My greatest concern is, what I've experienced many times, that the 10 minute timeframe MS promise for auto-unlock is simply not true and it took much-much longer to get access back to the file. Also the workaround they suggest here haven't ever worked for me. So my user (and admin) experience is that whenever this issue occurs, I have no other tools to fix it than waiting, and I have to tell the same to my users.


Same Problem here with Sharepoint online after making changes to excel in a flow. The Excel file is locked for hours. I read a lot of things, but all solutions I found are not for SP Online (office 365) but for SP on premise. For SP on premise are very easy solutions with powershell, but in SP Online we don't have something like "Get-Spweb".

 

- Somebody knows a solution to unlock files fast in SP Online?

- Ore any idea how to prevent Excel file locks after flow create/manipulate/copy excel files (also when the flow is crashing)?

- Any flow nodes to force an unlock available?

Highlighted
Hi Sebastian,

We too experience this issue, as do most people I suspect.

I haven't had the issue for a while, but one suggested solution that I have read is:

Restore the locked out file to a previous version. That essentially kicks the user (who the file thinks is editing) out and allows you to then rename/ delete/ move etc the file again.
Highlighted

For my solution was to close all Chrome windows

"...and Close it" That was the ticket for me. Gracefully close the document using File->Close in the client app. Previously, I was just X'ing out of the client and still could not delete the file from SP. Thanks!

 

Highlighted

This solved the problem for me, thanks!

Highlighted

After opening the Word document in Word, clicking File, clicking Manage Document, "Check Out" is grayed out. So, I'm unable to checkout/checkIn. I created the document, I am one of the owners of the MS Teams group, and from within properties it says the file is locked by me.