Skip to content

Commit b898835

Browse files
authored
Merge pull request #2429 from microsoftgraph/teamwork-app-setting-example
Update-MgTeamworkTeamAppSetting Example
2 parents 5b8a8c0 + f50106c commit b898835

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### Example 1: Update the tenant-wide teamsAppSettings for all Teams apps in the tenant
2+
```powershell
3+
Import-Module Microsoft.Graph.Teams
4+
5+
$params = @{
6+
"@odata.type" = "#microsoft.graph.teamsAppSettings"
7+
allowUserRequestsForAppAccess = "true"
8+
}
9+
10+
Update-MgTeamworkTeamAppSetting -BodyParameter $params
11+
```
12+
This example updates the tenant-wide teamsAppSettings for all Teams apps in the tenant

0 commit comments

Comments
 (0)