ESC
Type to search...

TeamworkAppSettings.ReadWrite.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read/Write All Resources

Allows the app to read and write the Teams app settings without a signed-in user.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read and write Teams app settings

Allows the app to read and write the Teams app settings without a signed-in user.

Delegated Permission Admin consent required

Read and write Teams app settings

Allows the app to read and write the Teams app settings on behalf of the signed-in user.

Properties

Microsoft Graph v1.0 endpoint-derived-docs

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

Property Type Description
id string The default teamwork identifier.
isTeamsEnabled Boolean Indicates whether Microsoft Teams is enabled for the organization.
region stringNullable Represents the region of the organization or the tenant. The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.
deletedChats deletedChat collection A collection of deleted chats.
deletedTeams deletedTeam collection The deleted team.
teamsAppSettings object Represents tenant-wide settings for all Teams apps in the tenant.
workforceIntegrations workforceIntegration 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.teamwork",
  "id": "String",
  "isTeamsEnabled": "boolean",
  "region": "String"
}

Relationships

Microsoft Graph v1.0 endpoint-derived-docs

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

Relationship Type Description
deletedTeams deletedTeam collection The deleted team.
deletedChats deletedChat collection A collection of deleted chats.
teamsAppSettings teamsAppSettings Represents tenant-wide settings for all Teams apps in the tenant.
workforceIntegrations workforceIntegration collection Related workforceIntegrations data exposed by this resource.
devices teamworkDevice collection The Teams devices provisioned for the tenant.
teamTemplates teamTemplate collection The templates associated with a team.

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
GET /teamwork/teamsAppSettings
PATCH /teamwork/teamsAppSettings
Exact Microsoft Learn match

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

Methods
GET /teamwork/teamsAppSettings
PATCH /teamwork/teamsAppSettings
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgTeamworkTeamAppSetting /teamwork/teamsAppSettings
Get teamsAppSettings
Update-MgTeamworkTeamAppSetting /teamwork/teamsAppSettings
Update teamsAppSettings
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaTeamworkTeamAppSetting /teamwork/teamsAppSettings
Get teamsAppSettings
Update-MgBetaTeamworkTeamAppSetting /teamwork/teamsAppSettings
Update teamsAppSettings

Code Examples

C# / .NET SDK
Update teamsAppSettings
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Models;

var requestBody = new TeamsAppSettings
{
	OdataType = "#microsoft.graph.teamsAppSettings",
	AllowUserRequestsForAppAccess = true,
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Teamwork.TeamsAppSettings.PatchAsync(requestBody);
JavaScript
Update teamsAppSettings
const options = {
	authProvider,
};

const client = Client.init(options);

const teamsAppSettings = {
  '@odata.type': '#microsoft.graph.teamsAppSettings',
  allowUserRequestsForAppAccess: 'true'
};

await client.api('/teamwork/teamsAppSettings')
	.update(teamsAppSettings);
PowerShell
Update teamsAppSettings
Import-Module Microsoft.Graph.Teams

$params = @{
	"@odata.type" = "#microsoft.graph.teamsAppSettings"
	allowUserRequestsForAppAccess = "true"
}

Update-MgTeamworkTeamAppSetting -BodyParameter $params
Python
Update teamsAppSettings
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.teams_app_settings import TeamsAppSettings
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = TeamsAppSettings(
	odata_type = "#microsoft.graph.teamsAppSettings",
	allow_user_requests_for_app_access = True,
)

result = await graph_client.teamwork.teams_app_settings.patch(request_body)

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 TeamworkAppSettings.ReadWrite.All

4

Grant Admin Consent

Application permissions always require admin consent.