Skip to content

Commit 6b37d17

Browse files
Create Update-M365TeamsApp.md
1 parent 35371a4 commit 6b37d17

File tree

1 file changed

+145
-0
lines changed

1 file changed

+145
-0
lines changed
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
---
2+
external help file: Microsoft.Teams.PowerShell.TeamsCmdlets.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version: https://docs.microsoft.com/powershell/module/teams/Update-M365TeamsApp
5+
applicable: Microsoft Teams
6+
title: Update-M365TeamsApp
7+
author: satishtimiri
8+
ms.author: satishtimiri
9+
manager: rahulrgupta
10+
schema: 2.0.0
11+
---
12+
13+
# Update-M365TeamsApp
14+
15+
## SYNOPSIS
16+
17+
This cmdlet updates app state and app available values for M365 Teams app.
18+
19+
## SYNTAX
20+
21+
```
22+
Update-M365TeamsApp -Id <String> [-IsBlocked <Boolean>] -AppAssignmentType <String> -OperationType <String>
23+
[-Users <String[]>] [-Groups <String[]>] [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
This cmdlet allows administrators to modify app state and availability by adding or removing users and groups or changing assignment type.
29+
30+
## EXAMPLES
31+
32+
### Example 1
33+
```powershell
34+
PS C:\> Update-M365TeamsApp -Id 3acac8f6-4e9e-4ee1-9c0e-0ea837d15ea3 -IsBlocked $true -AppAssignmentType UsersAndGroups -OperationType Add -Users eec823bd-0979-4cf8-9924-85bb6ffcb57d -Groups 37da2d58-fc14-453e-9a14-5065ebd63a1d
35+
```
36+
37+
Updates state and availablity assignment information of 3acac8f6-4e9e-4ee1-9c0e-0ea837d15ea3 app
38+
39+
## PARAMETERS
40+
41+
### -AppAssignmentType
42+
App availability type.
43+
44+
```yaml
45+
Type: String
46+
Parameter Sets: (Everyone, UsersandGroups, Noone)
47+
Aliases:
48+
49+
Required: True
50+
Position: Named
51+
Default value: None
52+
Accept pipeline input: False
53+
Accept wildcard characters: False
54+
```
55+
56+
### -Groups
57+
List of all the groups for whom the app is enabled or disabled
58+
59+
```yaml
60+
Type: String[]
61+
Parameter Sets: (All)
62+
Aliases:
63+
64+
Required: False
65+
Position: Named
66+
Default value: None
67+
Accept pipeline input: False
68+
Accept wildcard characters: False
69+
```
70+
71+
### -Id
72+
Application ID of M365 Teams app
73+
74+
```yaml
75+
Type: String
76+
Parameter Sets: (All)
77+
Aliases:
78+
79+
Required: True
80+
Position: Named
81+
Default value: None
82+
Accept pipeline input: False
83+
Accept wildcard characters: False
84+
```
85+
86+
### -IsBlocked
87+
The state of the app in the tenant.
88+
89+
```yaml
90+
Type: Boolean
91+
Parameter Sets: (true, false)
92+
Aliases:
93+
94+
Required: False
95+
Position: Named
96+
Default value: None
97+
Accept pipeline input: False
98+
Accept wildcard characters: False
99+
```
100+
101+
### -OperationType
102+
Operation performed on the app assigment.
103+
104+
```yaml
105+
Type: String
106+
Parameter Sets: (Add, Remove)
107+
Aliases:
108+
109+
Required: True
110+
Position: Named
111+
Default value: None
112+
Accept pipeline input: False
113+
Accept wildcard characters: False
114+
```
115+
116+
### -Users
117+
List of all the users for whom the app is enabled or disabled
118+
119+
```yaml
120+
Type: String[]
121+
Parameter Sets: (All)
122+
Aliases:
123+
124+
Required: False
125+
Position: Named
126+
Default value: None
127+
Accept pipeline input: False
128+
Accept wildcard characters: False
129+
```
130+
131+
### CommonParameters
132+
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).
133+
134+
## INPUTS
135+
136+
### None
137+
138+
## OUTPUTS
139+
140+
### System.Object
141+
## NOTES
142+
143+
## RELATED LINKS
144+
[Get-M365TeamsApps](Get-M365TeamsApps.md)
145+
[Get-ALLM365TeamsApps](Get-ALLM365TeamsApps.md)

0 commit comments

Comments
 (0)