Forum Discussion

soren8171's avatar
soren8171
Copper Contributor
Mar 22, 2024

MS Sensitivity labels mail sending MIME format Header

I selected the Sensitivity labels in OWA and checked the value exposed in Chrome developer mode when sending an email.
When sending mail (C#-EWS sending test), i confirmed that the message was encrypted by additionally coding the header with the information below.

 

## Header Sample

X-MS-Exchange-Organization-ModifySensitivityLabel: 00000000-0000-0000-0000-000000000000;6e4f02ee-0f9f-44eb-9f14-57b7d505f382
msip_labels: MSIP_Label_6e4f02ee-0f9f-44eb-9f14-57b7d505f382_Enabled=True;MSIP_Label_6e4f02ee-0f9f-44eb-9f14-57b7d505f382_SiteId=a23af047-ccd4-43c4-b36d-5303e9f04b12;MSIP_Label_6e4f02ee-0f9f-44eb-9f14-57b7d505f382_SetDate=2024-03-18T00:20:34.940Z;MSIP_Label_6e4f02ee-0f9f-44eb-9f14-57b7d505f382_Name=Confidential;MSIP_Label_6e4f02ee-0f9f-44eb-9f14-57b7d505f382_ContentBits=0;MSIP_Label_6e4f02ee-0f9f-44eb-9f14-57b7d505f382_Method=Privileged;

 

## Question
- If only msip_labels is applied, the sensitivity label is displayed, but the message is not encrypted.
Adding X-MS-Exchange-Organization-ModifySensitivityLabel will enable message encryption. Can I code it like this?

- The msip_labels guide is provided by [concept-mip-metadata]
Where can I find the specifications for X-MS-Exchange-Organization-ModifySensitivityLabel?

- What are the limitations of development if implemented only by adding a header?

 

Thanks in advance

  • Fabio_Teles's avatar
    Fabio_Teles
    Copper Contributor

    Hello soren8171 would you mind sharing how you were able to send the message with encryption enabled? I was able to set a label but the encryption and do not forward (of that label) isn't applied. Thank you!

  • DevenYang's avatar
    DevenYang
    Copper Contributor

    soren8171 

     

    This is exactly what I'm looking for. Did you figure it out finally? I'm now struglling with the same but have no idea at this moment.

Resources