Forum Discussion
manju
Jul 16, 2024Copper Contributor
Downloading word file as PDF from SharePoint using graph api looses sensitivity-label
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.
No RepliesBe the first to reply