SharePoint Document Issues

Fix a SharePoint Online Record That Remains Locked After Undeclaration

Chanuka GeekiyanageChanuka Geekiyanage Nov 20, 2026 869 views

Question details

The user needs to undeclare a SharePoint Online document as an in-place record and remove the restrictions preventing editing and deletion.

Fix a SharePoint Online Record That Remains Locked After Undeclaration
Product
SharePoint Online
Device & OS
not provided
Scenario
A document was declared as an in-place record with settings that block editing and deletion.
Observed behavior
After the user selects Undeclare in-place record, the lock icon remains and the document is still restricted.
Before you start

Confirm that you have permission to declare and undeclare records and that you can access the affected library's settings. Use a test file and, if possible, a separate library or site collection to compare the behavior.

Solution 1Recommended

Refresh and test record declaration in another library

Use a test file to determine whether the lock persists only in the affected library or also occurs elsewhere.

1
Refresh the affected library

After selecting Undeclare in-place record for the affected file, refresh the library page and check whether its lock icon disappears.

2
Prepare a test file

In another library or site collection, upload a test file and check it in if the library requires check-in.

3
Declare the test file

Select the file and choose More > Advanced > Compliance Details > Declare as an in-place record. Refresh the page and verify that the lock icon appears.

4
Undeclare and verify

Open the test file's Compliance Details, select Undeclare in-place record, and refresh the page. Check whether the lock icon disappears and the file can be edited.

Refresh and test record declaration in another library
Compare the results: If the test succeeds elsewhere, investigate settings or restrictions specific to the affected library. If it also fails elsewhere, share both test results with your SharePoint administrator.
Free Microsoft Office alternative

Work with Office Documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and moving existing files into your workflow. It does not remove SharePoint record locks or change retention settings.

Edit documents in a familiar, easy-to-use interfaceWork with Microsoft Word, Excel, and PowerPoint formatsOpen and edit a local document when you have an unrestricted copyMove existing Office files into a lightweight office suite
QA img-9

Frequently Asked Questions

Why is the lock icon still visible after I undeclare a record?

The library view may need a refresh, or another restriction may still apply. Refresh the page, then ask an administrator to review the file's Compliance Details, permissions, and retention settings if it remains locked.

How can I tell whether the issue affects only one library?

Upload a test file to another library or site collection, declare it through More > Advanced > Compliance Details, then undeclare it and refresh the page. Compare the lock icon and editing behavior with the affected library.

Where can I check the record declaration settings?

Review Site settings > Site Collection Administration > Record declaration settings for site-level behavior. In the affected library, open Settings > Library settings to review its record declaration settings.

What information should I send to my SharePoint administrator?

Provide the affected site and library, the exact declaration and undeclaration steps, screenshots of the lock or messages, and the results of testing a file in another library or site collection.