TeamsTab.Read.All
Read the names and settings of tabs inside any team in Microsoft Teams, without a signed-in user. This does not give access to the content inside the tabs.
Permission Details
Read tabs in Microsoft Teams.
Read the names and settings of tabs inside any team in Microsoft Teams, without a signed-in user. This does not give access to the content inside the tabs.
46890524-499a-4bb2-ad64-1476b4f3e1cf
Read tabs in Microsoft Teams.
Read the names and settings of tabs inside any team in Microsoft Teams, on behalf of the signed-in user. This does not give access to the content inside the tabs.
59dacb05-e88d-4c13-a684-59f1afc8cc98
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
configuration |
teamsTabConfiguration |
Container for custom settings applied to a tab. The tab is considered configured only once this property is set. |
displayName |
stringNullable |
Name of the tab. |
id |
string |
Identifier that uniquely identifies a specific instance of a channel tab. Read-only. |
webUrl |
stringNullable |
Deep link URL of the tab instance. Read-only. |
teamsApp |
object |
The application that is linked to the tab. This can't be changed after tab creation. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"id": "string",
"displayName": "string",
"webUrl": "string",
"configuration": "teamsTabConfiguration"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
teamsApp |
teamsApp |
The application that is linked to the tab. This can't be changed after tab creation. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/chats/{chat-id}/tabs
|
GET
/chats/{chat-id}/tabs/{tab-id}
|
GET
/teams/{id}/channels/{id}/tabs
|
GET
/teams/{team-id}/channels/{channel-id}/tabs/{tab-id}
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/chats/{chat-id}/tabs
|
GET
/chats/{chat-id}/tabs/{tab-id}
|
GET
/teams/{team-id}/channels/{channel-id}/tabs
|
GET
/teams/{team-id}/channels/{channel-id}/tabs/{tab-id}
|
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}"].Channels["{channel-id}"].Tabs["{teamsTab-id}"].GetAsync((requestConfiguration) =>
{
requestConfiguration.QueryParameters.Expand = new string []{ "teamsApp" };
});
const options = {
authProvider,
};
const client = Client.init(options);
let teamsTab = await client.api('/teams/{id}/channels/{id}/tabs/{id}')
.expand('teamsApp')
.get();
Import-Module Microsoft.Graph.Teams
Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -TeamsTabId $teamsTabId -ExpandProperty "teamsApp"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.teams.item.channels.item.tabs.item.teams_tab_item_request_builder import TeamsTabItemRequestBuilder
from kiota_abstractions.base_request_configuration import RequestConfiguration
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
query_params = TeamsTabItemRequestBuilder.TeamsTabItemRequestBuilderGetQueryParameters(
expand = ["teamsApp"],
)
request_configuration = RequestConfiguration(
query_parameters = query_params,
)
result = await graph_client.teams.by_team_id('team-id').channels.by_channel_id('channel-id').tabs.by_teams_tab_id('teamsTab-id').get(request_configuration = request_configuration)
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 Application permissions or delegated permissions and search for TeamsTab.Read.All
Grant Admin Consent
Application permissions always require admin consent.