InformationProtectionPolicy.Read
Allows an app to read information protection sensitivity labels and label policy settings, on behalf of the signed-in user.
Permission Details
Read user sensitivity labels and label policies.
Allows an app to read information protection sensitivity labels and label policy settings, on behalf of the signed-in user.
4ad84827-5578-4e18-ad7a-86530b12f884
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
id |
string |
The unique identifier for an entity. Read-only. |
labels |
informationProtectionLabel collection |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"id": "String",
"labels": [
{
"@type": "informationProtectionLabel",
"id": "00000000-0000-0000-0000-000000000000"
}
]
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
labels |
informationProtectionLabel collection |
Related labels data exposed by this resource. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Me.InformationProtection.Policy.Labels["{informationProtectionLabel-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let informationProtectionLabel = await client.api('/me/informationprotection/policy/labels/{id}')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.Identity.SignIns
# A UPN can also be used as -UserId.
Get-MgBetaUserInformationProtectionPolicyLabel -UserId $userId -InformationProtectionLabelId $informationProtectionLabelId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.me.information_protection.policy.labels.by_information_protection_label_id('informationProtectionLabel-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Delegated permissions and search for InformationProtectionPolicy.Read
Grant Admin Consent
Users can consent to this permission during sign-in.