How to set Sensitivity label defined in Information protection with encryption (access control) to Office 365 Emails programatic way?
Mohankumar Nagarajan
0
Reputation points
I am looking for public facing document on applySentivityLabel to Emails or any internal Microsoft API endpoint that can be used to apply Sensitivity Label created in purview.
As an interim solution I tried using workaround provided here: https://learn.microsoft.com/en-us/answers/questions/681331/set-sensitivity-label-on-mail-message-using-graph; However this seems to limit only to apply importance label; not to apply custom label with Encryption. In addition I tried following and api returns error
PATCH API - https://graph.microsoft.com/v1.0/me/messages/
Sign in to answer