Add-TeamsAppInstallation

Add a Teams App to Microsoft Teams.

Syntax

Add-TeamsAppInstallation
   -AppId <String>
   -TeamId <String>
   [-Permissions <String>]
   [<CommonParameters>]
Add-TeamsAppInstallation
   -AppId <String>
   -UserId <String>
   [-Permissions <String>]
   [<CommonParameters>]

Description

Add a Teams App to Microsoft Teams.

Note: This cmdlet is part of the Public Preview version of Teams PowerShell Module, for more information see Install Teams PowerShell public preview and also see Microsoft Teams PowerShell Release Notes.

Examples

Example 1

PS C:\> Add-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -TeamId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df

This example adds a Teams App to Microsoft Teams.

Example 2

PS C:\> Add-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -TeamId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -Permissions "TeamSettings.Read.Group ChannelMessage.Read.Group"

This example adds a Teams App to Microsoft Teams with RSC Permissions.

Parameters

-AppId

Teams App identifier in Microsoft Teams.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Permissions

RSC permissions for the Teams App.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-TeamId

Team identifier in Microsoft Teams.

Type:String
Aliases:GroupId
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-UserId

User identifier in Microsoft Teams.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Object