Forum Discussion

ellan1537's avatar
ellan1537
Iron Contributor
Dec 22, 2023
Solved

Enabling Sensitivity Label PDF Support for SharePoint Online

Sharepoint Online doesn't show sensitivity labels in the column "sensitivity" in PDFs, however, for office Apps it does.   Trying to run the below, but it is throwing error. Set-SPOTenant -EnableS...
  • ellan1537's avatar
    Feb 01, 2024
    Reinstalled the module. I had to do this on my machine when trying PowerShell 7.
    I had to run the uninstall (uninstall-module Microsoft.Online.SharePoint.PowerShell) both in PowerShell 7 and 5.

    Followed below steps and that it resolved the issue.
    -remove-module
    -uninstall-module Microsoft.Online.SharePoint.PowerShell
    -install-module Microsoft.Online.SharePoint.PowerShell

    Then I was able to find the attribute "-EnableSensitivityLabelforPDF" and the script successfully executed.