From f50106c03434e97954c0368ba2d76f55d414a611 Mon Sep 17 00:00:00 2001 From: Timothy Wamalwa Date: Fri, 10 Nov 2023 16:54:03 +0300 Subject: [PATCH] Added example --- .../v1.0/examples/Update-MgTeamworkTeamAppSetting.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/Teams/v1.0/examples/Update-MgTeamworkTeamAppSetting.md 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