Skip to content

Commit b431b25

Browse files
authored
Merge branch 'main' into patch-5
2 parents 1141494 + 9f258d5 commit b431b25

File tree

1 file changed

+91
-3
lines changed

1 file changed

+91
-3
lines changed

teams/teams-ps/teams/Update-M365TeamsApp.md

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ online version: https://docs.microsoft.com/powershell/module/teams/Update-M365Te
55
applicable: Microsoft Teams
66
title: Update-M365TeamsApp
77
author: lkueter
8-
ms.author: satishtimiri
8+
ms.author: sribagchi
99
manager: rahulrgupta
1010
ms.date: 04/24/2024
1111
schema: 2.0.0
@@ -21,12 +21,12 @@ This cmdlet updates app state and app available values for the Microsoft Teams a
2121

2222
```powershell
2323
Update-M365TeamsApp -Id <String> [-IsBlocked <Boolean>] -AppAssignmentType <String> -OperationType <String>
24-
[-Users <String[]>] [-Groups <String[]>] [<CommonParameters>]
24+
[-Users <String[]>] [-Groups <String[]>] -AppInstallType <String> -InstallForOperationType <String> [-InstallForUsers <String[]> -InstallForGroups <String[]> -InstallVersion <String>] [<CommonParameters>]
2525
```
2626

2727
## DESCRIPTION
2828

29-
This cmdlet allows administrators to modify app state and availability by adding or removing users and groups or changing assignment type.
29+
This cmdlet allows administrators to modify app state, availability and installation status by adding or removing users and groups or changing assignment type or installation status.
3030

3131
## EXAMPLES
3232

@@ -51,6 +51,13 @@ PS C:\> Update-M365TeamsApp -Id 4c4ec2e8-4a2c-4bce-8d8f-00fc664a4e5b -IsBlocked
5151
```
5252
Unblocks Bookings app (App ID 4c4ec2e8-4a2c-4bce-8d8f-00fc664a4e5b).
5353

54+
### Example 4
55+
56+
```powershell
57+
PS C:\> Update-M365TeamsApp -Id 2b876f4d-2e6b-4ee7-9b09-8893808c1380 -IsBlocked $false -AppInstallType UsersAndGroups -InstallForOperationType Add -InstallForUsers 77f5d400-a12e-4168-8e63-ccd2243d33a8,f2f4d8bc-1fb3-4292-867e-6d19efb0eb7c,37b6fc6a-32a4-4767-ac2e-c2f2307bad5c -InstallForGroups 926d57ad-431c-4e6a-9e16-347eacc91aa4 -InstallVersion 4.1.2
58+
```
59+
Unblocks 1Page App (App ID 2b876f4d-2e6b-4ee7-9b09-8893808c1380) and updates installation setting for the app to include 3 users and 1 group.
60+
5461

5562
## PARAMETERS
5663

@@ -150,6 +157,87 @@ Accept pipeline input: False
150157
Accept wildcard characters: False
151158
```
152159
160+
### -AppInstallType
161+
162+
App installation type.
163+
164+
```yaml
165+
Type: String
166+
Parameter Sets: (Everyone, UsersandGroups, Noone)
167+
Aliases:
168+
169+
Required: True
170+
Position: Named
171+
Default value: None
172+
Accept pipeline input: False
173+
Accept wildcard characters: False
174+
```
175+
176+
### -InstallForOperationType
177+
178+
Operation performed on the app installation.
179+
180+
```yaml
181+
Type: String
182+
Parameter Sets: (Add, Remove)
183+
Aliases:
184+
185+
Required: True
186+
Position: Named
187+
Default value: None
188+
Accept pipeline input: False
189+
Accept wildcard characters: False
190+
```
191+
192+
### -InstallForUsers
193+
194+
List of all the users for whom the app is installed.
195+
196+
```yaml
197+
Type: String[]
198+
Parameter Sets: (All)
199+
Aliases:
200+
201+
Required: False
202+
Position: Named
203+
Default value: None
204+
Accept pipeline input: False
205+
Accept wildcard characters: False
206+
```
207+
208+
209+
### -InstallForGroups
210+
211+
List of all the groups for whom the app is installed.
212+
213+
```yaml
214+
Type: String[]
215+
Parameter Sets: (All)
216+
Aliases:
217+
218+
Required: False
219+
Position: Named
220+
Default value: None
221+
Accept pipeline input: False
222+
Accept wildcard characters: False
223+
```
224+
225+
### -InstallVersion
226+
227+
App version to be installed.
228+
229+
```yaml
230+
Type: String
231+
Aliases:
232+
233+
Required: True
234+
Position: Named
235+
Default value: None
236+
Accept pipeline input: False
237+
Accept wildcard characters: False
238+
```
239+
240+
153241
### CommonParameters
154242
155243
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

0 commit comments

Comments
 (0)