ESC
Type to search...

TeamworkSection.ReadWrite.All

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

Allows the app to read and write all users' sections (folders) for organizing chats and channels in Teams, without a signed-in user.

Permission data: May 21, 2026 at 4:34 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read and write all users' sections

Allows the app to read and write all users' sections (folders) for organizing chats and channels in Teams, without a signed-in user.

Properties

Microsoft Graph beta exact-category-docs

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
createdDateTime DateTimeOffsetNullable Date and time when the section was created. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z.
displayIcon sectionDisplayIcon The icon displayed for the section.
displayName String The display name of the section. Required. Maximum length is 50 characters. Display names are case-sensitive and must be unique within a user's sections. The following names are reserved for system-defined sections and can't be used when creating a user-defined section: RecentChats, QuickViews, TeamsAndChannels, MutedChats, MeetingChats, EngageCommunities.
id String The unique identifier for the section. Read-only.
isExpanded BooleanNullable Indicates whether the section is expanded in the user interface. The default value is true.
isHierarchicalViewEnabled BooleanNullable Indicates whether the hierarchical view is enabled for the section. Read-only.
lastModifiedDateTime DateTimeOffsetNullable Date and time when the section was last modified. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z.
sectionType sectionType The type of the section. The possible values are: userDefined, systemDefined, unknownFutureValue. Read-only.
sortType sectionSortType The sort order of items in the section. The valid values depend on the sectionType. The possible values are: mostRecent, unreadThenMostRecent, nameAlphabetical, userDefinedCustomOrder, unknownFutureValue.
@microsoft.graph.sectionsOrder String collection An ordered array of section IDs that represent the user's preferred section order.
@microsoft.graph.sectionsVersion String The current section hierarchy version. Use this value as the If-Match header for optimistic concurrency control on mutation operations (create, update, or delete sections, and add, remove, or move items).
items teamworkSectionItem collection The items (chats, channels, meetings, or communities) organized within the section.

JSON Representation

Microsoft Graph beta exact-category-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.teamworkSection",
  "createdDateTime": "String (timestamp)",
  "displayIcon": {
    "@odata.type": "microsoft.graph.sectionDisplayIcon"
  },
  "displayName": "String",
  "id": "String (identifier)",
  "isExpanded": "Boolean",
  "isHierarchicalViewEnabled": "Boolean",
  "lastModifiedDateTime": "String (timestamp)",
  "sectionType": "String",
  "sortType": "String"
}

Relationships

Microsoft Graph beta exact-category-docs

Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Relationship Type Description
items teamworkSectionItem collection The items (chats, channels, meetings, or communities) organized within the section.

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.

No API methods available for this version.

Exact Microsoft Learn match

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

Methods
GET /users/{user-id}/teamwork/sections
GET /users/{user-id}/teamwork/sections/{teamworkSection-id}
GET /users/{user-id}/teamwork/sections/{teamworkSection-id}/items
POST /users/{user-id}/teamwork/sections
POST /users/{user-id}/teamwork/sections/{teamworkSection-id}/items
POST /users/{user-id}/teamwork/sections/{teamworkSection-id}/items/{teamworkSectionItem-id}/move
PATCH /users/{user-id}/teamwork/sections/{teamworkSection-id}
DELETE /users/{user-id}/teamwork/sections/{teamworkSection-id}
DELETE /users/{user-id}/teamwork/sections/{teamworkSection-id}/items/{teamworkSectionItem-id}
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
Add teamworkSectionItem
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Beta.Models;

var requestBody = new TeamworkSectionItem
{
	Id = "19:[email protected]",
};

// 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.Sections["{teamworkSection-id}"].Items.PostAsync(requestBody, (requestConfiguration) =>
{
	requestConfiguration.Headers.Add("If-Match", "\"1742515200\"");
});
JavaScript
Add teamworkSectionItem
const options = {
	authProvider,
};

const client = Client.init(options);

const teamworkSectionItem = {
  id: '19:[email protected]'
};

await client.api('/users/10f8c3a6-3e2a-4e8b-9c7d-5a4b6c8d9e0f/teamwork/sections/a1b2c3d4-e5f6-7890-abcd-ef1234567890/items')
	.version('beta')
	.post(teamworkSectionItem);
PowerShell
Connect-MgGraph -Scopes "TeamworkSection.ReadWrite.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users/{id}/teamwork/sections"
Python
Add teamworkSectionItem
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.users.item.teamwork.sections.item.items.items_request_builder import ItemsRequestBuilder
from kiota_abstractions.base_request_configuration import RequestConfiguration
from msgraph_beta.generated.models.teamwork_section_item import TeamworkSectionItem
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = TeamworkSectionItem(
	id = "19:[email protected]",
)

request_configuration = RequestConfiguration()
request_configuration.headers.add("If-Match", "\"1742515200\"")

result = await graph_client.users.by_user_id('user-id').teamwork.sections.by_teamwork_section_id('teamworkSection-id').items.post(request_body, request_configuration = request_configuration)

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 and search for TeamworkSection.ReadWrite.All

4

Grant Admin Consent

Application permissions always require admin consent.