Skip to content

Commit 204c0ca

Browse files
authored
Merge pull request #1 from thomyg/dev
New command graph teams tab list
2 parents 555bce6 + 2bc6dda commit 204c0ca

8 files changed

Lines changed: 1481 additions & 838 deletions

File tree

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# graph teams tab list
2+
3+
Lists tabs in the specified Microsoft Teams channel
4+
5+
## Usage
6+
7+
```sh
8+
graph teams tab list [options]
9+
```
10+
11+
## Options
12+
13+
Option|Description
14+
------|-----------
15+
`--help`| output usage information
16+
`-i, --teamId <teamId>`|The ID of the team of the specific channel
17+
`-c, --channelId <channelId>`|The ID of the channel for which to list tabs
18+
`-o, --output [output]`|Output type. `json|text`. Default `text`
19+
`--verbose`|Runs command with verbose logging
20+
`--debug`|Runs command with debug logging
21+
22+
!!! important
23+
Before using this command, log in to the Microsoft Graph, using the [graph login](../login.md) command
24+
25+
## Remarks
26+
27+
To list the tabs in a Microsoft Teams channel, you have to first log in to the Microsoft Graph using the [graph login](../login.md) command, eg. `graph login`.
28+
29+
## Examples
30+
31+
List the channels in a specified Microsoft Teams team
32+
33+
```sh
34+
graph teams channel list --teamId 00000000-0000-0000-0000-000000000000
35+
```
36+
37+
## Remarks:
38+
39+
To list available tabs in a specific Microsoft Teams team, you have to first log in to the Microsoft Graph using the [graph login](../login.md)command, eg. `graph login`.
40+
41+
You can only see the tab list of a team you are a member of.
42+
43+
The tabs Conversations and Files are present in every team and therefor not provided in the response from the graph call. The command uses Microsoft Graph to retrive the tab information. More details on the underlying graph endpoint can be found at <https://docs.microsoft.com/en-us/graph/api/teamstab-list?view=graph-rest-1.0>
44+
45+
## Examples:
46+
47+
List all tabs in a Microsoft Teams channel
48+
49+
```sh
50+
graph teams tab list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:[email protected]
51+
```
52+
53+
Include all the values from the tab configuration and associated teams app
54+
55+
```sh
56+
graph teams tab list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:[email protected] --output json
57+
```

0 commit comments

Comments
 (0)