Forum Discussion
ellan1537
Dec 22, 2023Iron Contributor
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...
- Feb 01, 2024Reinstalled 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.
ellan1537
Feb 01, 2024Iron Contributor
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.
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.