Forum Discussion
Custom colors for Sensitivity Label's content marking in Purview
We have implemented Sensitivity labels at our org, which also contains content markings for each label. But Microsoft Purview Compliance Portal only allows us to choose from Black, Yellow, Blue, Green and Red. But I want to choose Amber or Orange as color for content marking. How do I do that?
You can choose custom color for your watermarking from PowerShell. First you create a sensitivity label with the available color then you need to:
1) connect to exchange online module on PowerShell
2) connect to IPPSsession module
3) Last, run the following commands (ensure whether it is a header, footer, or watermarking):Set-Label -Identity LABELNAME -ApplyContentMarkingHeaderFontColor "#EAA221"
Replace #EAA221 with the desired color hexadecimal
I hope this helps!
2 Replies
- Joseph-BerbaryBrass Contributor
Hi Kavish,
It's possible to change the color of the Header from PowerShell. Please follow those steps:
1) Connect to exchange online module on PowerShell2) connect to the IPPSsession module
3) Apply one of these / all PowerShell commands:
Set-Label -Identity LABELNAME -ApplyContentMarkingHeaderFontColor "#EAA221"
OR
Set-Label -Identity LABELNAME -ApplyContentMarkingFooterFontColor "#EAA221"
Please replace #EAA221 with the desired hexadecimal color.
For more information, please review the following website: https://learn.microsoft.com/en-us/powershell/module/exchange/set-label?view=exchange-ps
I hope this helps!
- Joseph-BerbaryBrass Contributor
You can choose custom color for your watermarking from PowerShell. First you create a sensitivity label with the available color then you need to:
1) connect to exchange online module on PowerShell
2) connect to IPPSsession module
3) Last, run the following commands (ensure whether it is a header, footer, or watermarking):Set-Label -Identity LABELNAME -ApplyContentMarkingHeaderFontColor "#EAA221"
Replace #EAA221 with the desired color hexadecimal
I hope this helps!