Downloading word file having sensitivity-label from SharePoint using graph api with format=pdf is loosing the label info
spm
20
Reputation points
I have a word file in SharePoint Online document library, this file has Sensitivity label assigned to it. I am downloading this file using Graph SDK with query parameter 'format=pdf'. The file is successfully downloaded and saved as pdf, however, the sensitivity labels are lost.
I opened the same file in browser (Open in browser) and clicked on File --> Save as --> Download as PDF; this step retain the sensitivity labels.
Why is the file when downloading from API loosing its labels?
Note:
- I tried downloading directly using SharePoint URL and there too Label information is lost.
- The sensitivity labels does not carry any control mechanisms i.e., they are used for information classification.
Microsoft Security | Microsoft Graph
13,734 questions
Sign in to answer