A unified data governance solution that helps manage, protect, and discover data across your organization
Hello Kuldeep Raj Tiwari,
Thanks for Posting your query over Microsoft QnA!
Thank you Sina Salam to promptly responding to the question, In addition to the Sina Salam's response, which is a spot on, Microsoft Purview Sensitivity Labels can impose export-and-copy restrictions even when “encryption” is turned off. The Microsoft Graph service respects these restrictions. In this specific case, the Sensitivity Label’s rights management (RMS) sub-policy does not grant content export (PDF conversion) permissions to User B. Meanwhile,
User A either:
- Belongs to a security group or Entra ID role that the label policy explicitly allows to export content, or
- Is an “excepted” principal under the label policy, while User B is not.
This is why the Graph API returns the OfficeConversion_DocumentProtected error for User B.
Kuldeep Raj Tiwari, you can also consider the following steps as well which may help you to overcome this issue.
Review and adjust the Sensitivity Label’s export permissions to include User B or the group they belong to, without removing or downgrading the label:
- Purview Compliance Center: a. Sign in to the Microsoft Purview compliance portal: https://compliance.microsoft.com/labelpolicies b. Under “Solutions,” select Information protection → Labels. c. Locate and edit the label applied to your document. d. Expand Protect (Rights management) settings. e. Under Assign permissions, ensure that the security group or Azure AD role containing User B has the “Export content / Copy content” permission.
- If you don’t see an explicit “Export content” checkbox, it’s usually controlled by the Rights Management template used—such as “Do Not Forward” or “View Only” which block export. Switch to or customize a template that permits export. f. Save the changes to the label, then Publish or update the label policy so that changes propagate across the tenant.
Following these steps should help User B gain permission to export the document as PDF via Microsoft Graph, while maintaining the protective capabilities of the Sensitivity Label.
Do let us know in case of related queries or other inputs.
Please "Accept as Answer by clicking YES" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.
Thanks
Pratyush