Fix a SharePoint Online Record That Remains Locked After Undeclaration
Question details
The user needs to undeclare a SharePoint Online document as an in-place record and remove the restrictions preventing editing and deletion.

- 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.
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.
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.
After selecting Undeclare in-place record for the affected file, refresh the library page and check whether its lock icon disappears.
In another library or site collection, upload a test file and check it in if the library requires check-in.
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.
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.

Review record settings and escalate a persistent lock
Use this approach when the lock remains after a refresh or the comparison test shows inconsistent results.
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.

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.




