Skip to content

New command: teams deeplink tab generate #1656

@garrytrinder

Description

@garrytrinder

Usage

teams tab deeplink get [options]

Description

Generates a Microsoft Teams deep link from an existing Tab in a Channel

Options

Option Description
--teamId <teamId> The ID of the team where the tab exists
--channelId <channelId> The ID of the channel where the tab exists
--tabId <tabId> The ID of the tab to generate the deep link from
--label <label> The label to use in the deep link
--tabType <tabTypeOptions> The tab type. Allowed values Static,Configurable

Additional Information

Generating a deep link to your tab - https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#generating-a-deep-link-to-your-tab

Format of the deep link for a configurable tab should be

https://teams.microsoft.com/l/entity/{appId}/{entityId}?webUrl={contentUrl}&label={label}&context={context}

Format for a static tab should be (omitting context)

https://teams.microsoft.com/l/entity/{appId}/{entityId}?webUrl={contentUrl}&label={label}

{appId}, {entityId} and {contentUrl} can be obtained from the Tab object returned by Microsoft graph.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions