TeamsAppInstallation.ReadWriteForUser
Allows the app to read, install, upgrade, and uninstall Teams apps installed for the signed-in user. Does not give the ability to read application-specific settings.
In short
TeamsAppInstallation.ReadWriteForUser 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 installed for the signed-in user. Does not give the ability to read application-specific settings. It grants read and write access to resources. This delegated permission requires admin consent.
Permission Details
Manage user's installed Teams apps
Allows the app to read, install, upgrade, and uninstall Teams apps installed for the signed-in user. Does not give the ability to read application-specific settings.
093f8818-d05f-49b8-95bc-9d2a73e9a43c
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.
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.
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.Users["{user-id}"].Teamwork.InstalledApps["{userScopeTeamsAppInstallation-id}"].Chat.GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let chat = await client.api('/users/f32b83bb-4fc8-4db7-b7f5-76cdbbb8aa1c/teamwork/installedApps/ZjMyYjgzYmItNGZjOC00ZGI3LWI3ZjUtNzZjZGJiYjhhYTFjIyMyMmY3M2JiZS1mNjdhLTRkZWEtYmQ1NC01NGNhYzcxOGNiMmI=/chat')
.get();
Import-Module Microsoft.Graph.Teams
Get-MgUserTeamworkInstalledAppChat -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId
# 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.users.by_user_id('user-id').teamwork.installed_apps.by_user_scope_teams_app_installation_id('userScopeTeamsAppInstallation-id').chat.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.ReadWriteForUser
Grant Admin Consent
This delegated permission requires admin consent.
Frequently asked questions
What is the TeamsAppInstallation.ReadWriteForUser Microsoft Graph permission?
TeamsAppInstallation.ReadWriteForUser 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 installed for the signed-in user. Does not give the ability to read application-specific settings. It grants read and write access to resources. This delegated permission requires admin consent. It is mapped to the Microsoft Graph teamsappinstallation resource type. 12 documented Microsoft Graph REST methods require it. 10 Microsoft Graph PowerShell commands are documented for it.
Is TeamsAppInstallation.ReadWriteForUser an application or a delegated permission?
TeamsAppInstallation.ReadWriteForUser 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.ReadWriteForUser require admin consent?
This delegated permission requires admin consent.
What is the permission ID (GUID) for TeamsAppInstallation.ReadWriteForUser?
For TeamsAppInstallation.ReadWriteForUser, the delegated (OAuth2 scope) ID is 093f8818-d05f-49b8-95bc-9d2a73e9a43c. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.