Editar

Compartilhar via


Update-M365UnifiedTenantSettings

This cmdlet updates tenant settings.

Syntax

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

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

PS C:\> Update-M365UnifiedTenantSettings -SettingName GlobalApp -SettingValue None

Updates the tenant setting for GlobalApp to None

Parameters

-Groups

List of all the groups for whom the app is enabled or disabled.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Operation

Operation performed (whether we are adding or removing users/groups).

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SettingName

Setting Name to be changed.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SettingValue

Setting Value to be changed.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Users

List of all the users for whom the app is enabled or disabled.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object