Skip to content

Create Update-M365UnifiedTenantSettings.md #12319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 138 additions & 0 deletions teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
---
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 <String> -SettingValue <String> [-Users <String[]>] [-Groups <String[]>] [-Operation <String>] [<CommonParameters>]
```

## 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