TeamsAppInstallation.ReadWriteAndConsentForTeam
Allows the app to read, install, upgrade, and uninstall Teams apps in teams the signed-in user can access. Gives the ability to manage permission grants for accessing those specific teams' data.
In short
TeamsAppInstallation.ReadWriteAndConsentForTeam is a delegated permission in the Microsoft Graph API, grouped under the TeamsAppInstallation category. Allows the app to read, install, upgrade, and uninstall Teams apps in teams the signed-in user can access. Gives the ability to manage permission grants for accessing those specific teams' data. It grants read and write access to resources. This delegated permission requires admin consent.
Permission Details
Manage installed Teams apps in teams
Allows the app to read, install, upgrade, and uninstall Teams apps in teams the signed-in user can access. Gives the ability to manage permission grants for accessing those specific teams' data.
946349d5-2a9d-4535-abc0-7beeacaedd1d
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
consentedPermissionSet |
teamsAppPermissionSet |
The set of resource-specific permissions consented to while installing or upgrading the teamsApp. |
id |
string |
A unique ID (not the Teams app ID). |
teamsApp |
object |
The app that is installed. |
teamsAppDefinition |
object |
The details of this version of the app. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"consentedPermissionSet": "#microsoft.graph.teamsAppPermissionSet",
"id": "string"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
teamsApp |
teamsApp |
The app that is installed. |
teamsAppDefinition |
teamsAppDefinition |
The details of this version of the app. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/teams/{id}/installedApps/{id}
|
GET
/teams/{team-id}/installedApps
|
POST
/teams/{team-id}/installedApps/{app-installation-id}/upgrade
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/teams/{id}/installedApps/{id}
|
GET
/teams/{team-id}/installedApps
|
POST
/teams/{team-id}/installedApps/{app-installation-id}/upgrade
|
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft 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.Teams["{team-id}"].InstalledApps["{teamsAppInstallation-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let teamsAppInstallation = await client.api('/teams/02bd9fd6-8f93-4758-87c3-1fb73740a315/installedApps/MDJiZDlmZDYtOGY5My00NzU4LTg3YzMtMWZiNzM3NDBhMzE1IyMwZDgyMGVjZC1kZWYyLTQyOTctYWRhZC03ODA1NmNkZTdjNzg=')
.get();
Import-Module Microsoft.Graph.Teams
Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph 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.teams.by_team_id('team-id').installed_apps.by_teams_app_installation_id('teamsAppInstallation-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 TeamsAppInstallation.ReadWriteAndConsentForTeam
Grant Admin Consent
This delegated permission requires admin consent.
Frequently asked questions
What is the TeamsAppInstallation.ReadWriteAndConsentForTeam Microsoft Graph permission?
TeamsAppInstallation.ReadWriteAndConsentForTeam is a delegated permission in the Microsoft Graph API, grouped under the TeamsAppInstallation category. Allows the app to read, install, upgrade, and uninstall Teams apps in teams the signed-in user can access. Gives the ability to manage permission grants for accessing those specific teams' data. It grants read and write access to resources. This delegated permission requires admin consent. It is mapped to the Microsoft Graph teamsappinstallation resource type. 6 documented Microsoft Graph REST methods require it. 6 Microsoft Graph PowerShell commands are documented for it.
Is TeamsAppInstallation.ReadWriteAndConsentForTeam an application or a delegated permission?
TeamsAppInstallation.ReadWriteAndConsentForTeam is a delegated permission only. It grants access on behalf of a signed-in user and cannot be used for app-only access.
Does TeamsAppInstallation.ReadWriteAndConsentForTeam require admin consent?
This delegated permission requires admin consent.
What is the permission ID (GUID) for TeamsAppInstallation.ReadWriteAndConsentForTeam?
For TeamsAppInstallation.ReadWriteAndConsentForTeam, the delegated (OAuth2 scope) ID is 946349d5-2a9d-4535-abc0-7beeacaedd1d. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.