Disable encrytion for sharepoint document

Irin Sultana 377 Reputation points
2023-06-29T22:32:15.52+00:00

Hi,

I want to remove encrytion from one of my sharepoint site documents. I could not find the setting . Please help me to change the setting.

Thank You!

Irin

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 31,606 Reputation points Microsoft External Staff
    2023-06-30T02:51:20.65+00:00

    Hi @Irin Sultana ,

    You can try the following steps:

    1. Run SharePoint Online Management Shell as an admin.
    2. 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:

    https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/unlock-sposensitivitylabelencryptedfile?view=sharepoint-ps


    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.