SOLVED

Unlock a file that has been locked for editing

%3CLINGO-SUB%20id%3D%22lingo-sub-1085552%22%20slang%3D%22en-US%22%3EUnlock%20a%20file%20that%20has%20been%20locked%20for%20editing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1085552%22%20slang%3D%22en-US%22%3E%3CP%3E%3CFONT%3EThe%20file%20is%20locked%20by%20an%20user%20for%20editing.%20The%20SharePoint%20Administrator%20is%20unable%20to%20unlock%20the%20document%20in%20SharePoint%20Online.%3CBR%20%2F%3EIs%20there%20any%20option%20to%20unlock%20using%20Power%20Shell%20%3F%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1085552%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1085627%22%20slang%3D%22en-US%22%3ERe%3A%20Unlock%20a%20file%20that%20has%20been%20locked%20for%20editing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1085627%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F113593%22%20target%3D%22_blank%22%3E%40Sajith%20G%20H%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20this%20post%20for%20more%20information%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsharepoint%2Fcannot-release-lock-on-sharepoint-online-file%2Fm-p%2F216475%23M19782%22%20target%3D%22_self%22%3ECannot%20Release%20Lock%20on%20SharePoint%20Online%20File%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20many%20cases%20the%20lock%20will%20timeout%20and%20in%20other%20cases%20a%20user%20may%20have%20the%20file%20locked%20via%20the%20%22%3CSPAN%3EUpload%20Center%22.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20hope%20this%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ENorm%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1310323%22%20slang%3D%22en-US%22%3ERe%3A%20Unlock%20a%20file%20that%20has%20been%20locked%20for%20editing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1310323%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20an%20old%20post%2C%20but%20I%20just%20had%20this%20happen%20and%20wanted%20it%20here%20to%20maybe%20help%20other%20people.%26nbsp%3B%20Make%20sure%20the%20document%20isn't%20a%20.doc.%26nbsp%3B%20If%20that%20happens%20it%20will%20lock%20with%20just%20one%20person%20opening%20it%20every%20single%20time%20and%20will%20cause%20this%20error.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

The file is locked by an user for editing. The SharePoint Administrator is unable to unlock the document in SharePoint Online.
Is there any option to unlock using Power Shell ?

2 Replies
Highlighted
Solution

Hello @Sajith G H,

 

See this post for more information: Cannot Release Lock on SharePoint Online File

 

In many cases the lock will timeout and in other cases a user may have the file locked via the "Upload Center".

 

I hope this helps.

 

Norm

Highlighted

This is an old post, but I just had this happen and wanted it here to maybe help other people.  Make sure the document isn't a .doc.  If that happens it will lock with just one person opening it every single time and will cause this error.