diff --git a/src/Teams/v1.0/examples/Update-MgTeamworkTeamAppSetting.md b/src/Teams/v1.0/examples/Update-MgTeamworkTeamAppSetting.md new file mode 100644 index 00000000000..c4b9f893753 --- /dev/null +++ b/src/Teams/v1.0/examples/Update-MgTeamworkTeamAppSetting.md @@ -0,0 +1,12 @@ +### Example 1: Update the tenant-wide teamsAppSettings for all Teams apps in the tenant +```powershell +Import-Module Microsoft.Graph.Teams + +$params = @{ + "@odata.type" = "#microsoft.graph.teamsAppSettings" + allowUserRequestsForAppAccess = "true" +} + +Update-MgTeamworkTeamAppSetting -BodyParameter $params +``` +This example updates the tenant-wide teamsAppSettings for all Teams apps in the tenant