ESC
Type to search...

ProtectionScopes.Compute.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read All Resources

Allows the app to identify Purview data protection, compliance and governance policy scopes defined for all users across tenant.

In short

ProtectionScopes.Compute.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the ProtectionScopes category. Allows the app to identify Purview data protection, compliance and governance policy scopes defined for all users across tenant. It grants read-only access to resources. Application permissions always require admin consent.

Permission data: October 3, 2026 at 3:19 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Compute Purview policies at tenant scope

Allows the app to identify Purview data protection, compliance and governance policy scopes defined for all users across tenant.

Delegated Permission Admin consent required

Compute Purview policies at tenant scope

Allows the app to identify Purview data protection, compliance and governance policy scopes defined for all users across tenant.

Properties

Microsoft Graph v1.0 endpoint-derived-docs

Properties is shown from stable Microsoft Graph v1.0 metadata.

Property Type Description
id String The unique ID of the data security and governance stream. Inherited from entity.
sensitivityLabels sensitivityLabel collection

JSON Representation

Microsoft Graph v1.0 endpoint-derived-docs

JSON representation is shown from stable Microsoft Graph v1.0 metadata.

JSON representation
{
  "@odata.type": "#microsoft.graph.dataSecurityAndGovernance",
  "id": "String (identifier)"
}

Relationships

Microsoft Graph v1.0 schema-derived

Relationships is shown from stable Microsoft Graph v1.0 metadata.

Relationship Type Description
sensitivityLabels sensitivityLabel collection Related sensitivityLabels data exposed by this resource.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
POST /me/dataSecurityAndGovernance/protectionScopes/compute
POST /security/dataSecurityAndGovernance/protectionScopes/compute
POST /users/{usersId}/dataSecurityAndGovernance/protectionScopes/compute
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
POST /me/dataSecurityAndGovernance/protectionScopes/compute
POST /security/dataSecurityAndGovernance/protectionScopes/compute
POST /users/{usersId}/dataSecurityAndGovernance/protectionScopes/compute
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs

Code Examples

C# / .NET SDK
using Azure.Identity;
using Microsoft.Graph;

var scopes = new[] { "ProtectionScopes.Compute.All" };
var credential = new InteractiveBrowserCredential(
    new InteractiveBrowserCredentialOptions
    {
        ClientId = "YOUR_CLIENT_ID",
        TenantId = "YOUR_TENANT_ID",
        RedirectUri = new Uri("http://localhost")
    });

var graphClient = new GraphServiceClient(credential, scopes);
var response = await graphClient
    .WithUrl("https://graph.microsoft.com/v1.0/me/dataSecurityAndGovernance/protectionScopes/compute")
    .GetAsync();
JavaScript
import { Client } from "@microsoft/microsoft-graph-client";
import { InteractiveBrowserCredential } from "@azure/identity";

const credential = new InteractiveBrowserCredential({
  clientId: "YOUR_CLIENT_ID",
  tenantId: "YOUR_TENANT_ID",
  redirectUri: "http://localhost"
});

const token = await credential.getToken(["ProtectionScopes.Compute.All"]);
const client = Client.init({
  authProvider: (done) => done(null, token.token)
});

const response = await client.api("/me/dataSecurityAndGovernance/protectionScopes/compute").get();
PowerShell
Connect-MgGraph -Scopes "ProtectionScopes.Compute.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/me/dataSecurityAndGovernance/protectionScopes/compute"
Python
from azure.identity import InteractiveBrowserCredential
import requests

credential = InteractiveBrowserCredential(
    client_id="YOUR_CLIENT_ID",
    tenant_id="YOUR_TENANT_ID"
)

token = credential.get_token("ProtectionScopes.Compute.All")
response = requests.get(
    "https://graph.microsoft.com/v1.0/me/dataSecurityAndGovernance/protectionScopes/compute",
    headers={"Authorization": f"Bearer {token.token}"}
)

print(response.json())

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for ProtectionScopes.Compute.All

4

Grant Admin Consent

Application permissions always require admin consent.

Frequently asked questions

What is the ProtectionScopes.Compute.All Microsoft Graph permission?

ProtectionScopes.Compute.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the ProtectionScopes category. Allows the app to identify Purview data protection, compliance and governance policy scopes defined for all users across tenant. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph datasecurityandgovernance resource type. 6 documented Microsoft Graph REST methods require it.

Is ProtectionScopes.Compute.All an application or a delegated permission?

ProtectionScopes.Compute.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).

Does ProtectionScopes.Compute.All require admin consent?

Application permissions always require admin consent.

What is the permission ID (GUID) for ProtectionScopes.Compute.All?

For ProtectionScopes.Compute.All, the application (app role) ID is e5a76501-dbb0-492c-ab55-5d09e8837263, and the delegated (OAuth2 scope) ID is 98f5a27a-539a-48bc-a597-f78e9e1e76bf. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.