ResourceSpecificPermissionGrant.ReadForTeam
Allows the app to read the resource specific permissions granted on the team, on behalf of the signed-in user.
Permission Details
Read resource specific permissions granted on a team
Allows the app to read the resource specific permissions granted on the team, on behalf of the signed-in user.
eafad40c-bf7a-415a-b7f8-acdf5706b58f
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
clientId |
stringNullable |
ID of the Microsoft Entra app that has been granted access. Read-only. |
clientAppId |
stringNullable |
ID of the service principal of the Microsoft Entra app that has been granted access. Read-only. |
deletedDateTime |
dateTimeOffsetNullable |
Not used. |
id |
string |
The unique identifier of the resource-specific permission grant. Read-only. |
resourceAppId |
stringNullable |
ID of the Microsoft Entra app that is hosting the resource. Read-only. |
permissionType |
stringNullable |
The type of permission. The possible values are: Application, Delegated. Read-only. |
permission |
stringNullable |
The name of the resource-specific permission. Read-only. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"id": "string (identifier)",
"deletedDateTime": "dateTimeOffset",
"clientId": "string",
"clientAppId": "string",
"resourceAppId": "string",
"permissionType": "string",
"permission": "string"
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are not available from refreshed Microsoft Learn or Microsoft Graph OpenAPI metadata for this permission.
No API methods available for this version.
Microsoft Graph beta endpoints are not available from refreshed Microsoft Learn or Microsoft Graph OpenAPI metadata for this permission.
No API methods available for this version.
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 docsMicrosoft 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 docsCode Examples
using Azure.Identity;
using Microsoft.Graph;
var scopes = new[] { "ResourceSpecificPermissionGrant.ReadForTeam" };
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/resourcespecificpermissiongrant")
.GetAsync();
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(["ResourceSpecificPermissionGrant.ReadForTeam"]);
const client = Client.init({
authProvider: (done) => done(null, token.token)
});
const response = await client.api("/resourcespecificpermissiongrant").get();
Connect-MgGraph -Scopes "ResourceSpecificPermissionGrant.ReadForTeam"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/resourcespecificpermissiongrant"
from azure.identity import InteractiveBrowserCredential
import requests
credential = InteractiveBrowserCredential(
client_id="YOUR_CLIENT_ID",
tenant_id="YOUR_TENANT_ID"
)
token = credential.get_token("ResourceSpecificPermissionGrant.ReadForTeam")
response = requests.get(
"https://graph.microsoft.com/v1.0/resourcespecificpermissiongrant",
headers={"Authorization": f"Bearer {token.token}"}
)
print(response.json())
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 ResourceSpecificPermissionGrant.ReadForTeam
Grant Admin Consent
This delegated permission requires admin consent.