
Hi @Irin Sultana ,
You can try the following steps:
- Run SharePoint Online Management Shell as an admin.
- Run the following command:
# Connect to SharePoint
Connect-SPOService -Url https://<yourtenant>-admin.sharepoint.com
# Remove encryption from a document:
Set-SPOFile -SiteRelativeUrl "<site-relative-url>/<document-library>/<document-name>" -EncryptionPassword "" -RemoveEncryption
Replace "<site-relative-url>" with the relative URL of the SharePoint Online site where the document is located, "<document-library>" with the name of the document library where the document is located, and "<document-name>" with the name of the document you want to remove encryption from.
Please note that you will need to have the appropriate permissions to use PowerShell to remove encryption from a document in a SharePoint Online library. If you do not have the appropriate permissions, you will need to contact your SharePoint Online administrator for assistance.
And there is an article for your reference:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.