Update-TeamsAppInstallation
Update a Teams App in Microsoft Teams.
Syntax
Update-TeamsAppInstallation
[-AppInstallationId <String>]
[-AppId <String>]
-TeamId <String>
[-Permissions <String>]
[<CommonParameters>]
Update-TeamsAppInstallation
[-AppInstallationId <String>]
[-AppId <String>]
-UserId <String>
[-Permissions <String>]
[<CommonParameters>]
Description
Update a Teams App in Microsoft Teams. This won't update teams client; this will update an application installed on the user/team.
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:\> Update-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -TeamId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df
This example updates a Teams App in Microsoft Teams specifying its AppId and TeamId.
Example 2
PS C:\> Update-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -TeamId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -Permissions "TeamSettings.Read.Group ChannelMessage.Read.Group"
This example updates a Teams App in Microsoft Teams specifying its AppId and TeamId and RSC Permissions.
Parameters
-AppId
Teams App identifier in Microsoft Teams.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AppInstallationId
Installation identifier of the Teams App.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour