From c9e70dacfa4c31b91e74d08bb57ca6fb7873ddf2 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Tue, 22 Oct 2024 10:02:37 -0400 Subject: [PATCH 1/4] Create Update-M365UnifiedTenantSettings.md --- .../teams/Update-M365UnifiedTenantSettings.md | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md new file mode 100644 index 0000000000..718e91505d --- /dev/null +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -0,0 +1,143 @@ +--- +external help file: Microsoft.Teams.PowerShell.TeamsCmdlets.dll-Help.xml +Module Name: MicrosoftTeams +online version: https://docs.microsoft.com/powershell/module/teams/Update-M365UnifiedTenantSettings +applicable: Microsoft Teams +title: Update-M365UnifiedTenantSettings +author: lkueter +ms.author: sribagchi +manager: rahulrgupta +ms.date: 10/22/2024 +schema: 2.0.0 +--- + +# Update-M365UnifiedTenantSettings + +## SYNOPSIS + +This cmdlet updates tenant settings. + +## SYNTAX + +```powershell +Update-M365UnifiedTenantSettings -SettingName -SettingValue [-Users ] [-Groups ] [-Operation ] [] +``` + +## DESCRIPTION + +This cmdlet allows administrators to modify tenant settings. + +## EXAMPLES + +### Example 1 + +```powershell +PS C:\> PS C:\> Update-M365UnifiedTenantSettings -SettingName EnableCopilotExtensibility -SettingValue Some -Users d156010d-fb18-497f-804c-155ec2aa06d3,a62fba7e-e362-493c-a094-fdec17e2fee8 -Groups 37da2d58-fc14-453e-9a14-5065ebd63a1d, 37da2d58-fc14-453e-9a14-5065ebd63a1e -Operation add +``` +Updates the tenant setting for EnableCopilotExtensibility to 2 users and 2 groups. + +### Example 2 + +```powershell +PS C:\> Update-M365UnifiedTenantSettings -SettingName GlobalApp -SettingValue None +``` +Updates the tenant setting for GlobalApp to None + + +## PARAMETERS + +### -SettingName + +Setting Name to be changed. + +```yaml +Type: String +Parameter Sets: (DefaultApp, GlobalApp, PrivateApp, EnableCopilotExtensibility) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SettingValue +Setting Value to be changed. + +```yaml +Type: String +Parameter Sets: (All, None, Some) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Operation + +Operation performed (whether we are adding or removing users/groups). + +```yaml +Type: String +Parameter Sets: (Add, Remove) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Users + +List of all the users for whom the app is enabled or disabled. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Groups + +List of all the groups for whom the app is enabled or disabled. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters + +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). + +## INPUTS + +### None + +## OUTPUTS + +### System.Object + +## RELATED LINKS + +[Get-AllM365TeamsApps](Get-ALLM365TeamsApps.md) +[Get-M365TeamsApp](Get-M365TeamsApp.md) From 52f1ec19121785063b5f7213120b1f54fb24db63 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Tue, 22 Oct 2024 11:19:46 -0400 Subject: [PATCH 2/4] Update Update-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md index 718e91505d..9957dd2a59 100644 --- a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -83,7 +83,7 @@ Operation performed (whether we are adding or removing users/groups). ```yaml Type: String -Parameter Sets: (Add, Remove) +Parameter Sets: (add, remove) Aliases: Required: True From 84ba6cd686f4515b8683035f66394d2a42463855 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Wed, 23 Oct 2024 11:49:45 -0400 Subject: [PATCH 3/4] Update Update-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md index 9957dd2a59..e881d1b452 100644 --- a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -139,5 +139,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[Get-AllM365TeamsApps](Get-ALLM365TeamsApps.md) -[Get-M365TeamsApp](Get-M365TeamsApp.md) +[Get-M365UnifiedTenantSettings](Get-M365UnifiedTenantSettings.md) From 11414946dcdf1bc5f49c37f0fa7e0b81db891725 Mon Sep 17 00:00:00 2001 From: jacktremper <149415765+jacktremper@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:14:27 -0700 Subject: [PATCH 4/4] Update Update-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md index e881d1b452..6c1489d1bc 100644 --- a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -136,7 +136,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS ### System.Object - -## RELATED LINKS - -[Get-M365UnifiedTenantSettings](Get-M365UnifiedTenantSettings.md)