Skip to main content

IRM-enabled documents are not restored correctly in the SharePoint site

IRM-enabled documents are not restored correctly in the SharePoint site

Updated today

Problem Statement:

IRM-enabled documents are not restored correctly in the SharePoint site

Traceback:

In the restore logs, Administrator observe the following traceback:

[2025-06-18 20:24:54,399] [ERROR] Skipping uploading file Documento%20Prueba%20SW%20Platform%202.pdf to folder 6eb31c9f-ceaf-4724-beb1-326677d8a91e in site /sites/Test/insync_restore1750278109/TestInfra/. Error: {u'error': {u'message': {u'lang': u'es-ES', u'value': u'This library does not accept files of the given type. You must upload a new, unchecked file that supports administration rights or re-upload a document that was previously downloaded from this library.'}, u'code': u'-2130575176, Microsoft.SharePoint.SPException'}} (#100000001)

Environment:

  • CloudApps - M365 SharePoint

Resolution:

This issue arises from a known limitation with Microsoft APIs, which currently restricts the direct restoration of Information Rights Management (IRM)-protected documents. Due to this Microsoft API limitation, direct restoration of IRM-enabled documents is not supported

Workaround:

  • Temporarily Disable IRM: If feasible and aligned with your organization's security policies, temporarily disable IRM on the SharePoint library before initiating the restore operation. Re-enable IRM after the restoration is complete.


πŸ“ Note

This should only be considered if security implications are understood and accepted.


Manual Download and Upload: If a full restore is critical and the above workaround is not an option, manually download the IRM-enabled documents from the source and then upload them to the desired SharePoint library.

Did this answer your question?