Get-M365UnifiedTenantSettings

This cmdlet returns the current tenant settings for a particular tenant

Syntax

Get-M365UnifiedTenantSettings
   -SettingNames <String[]>
   [<CommonParameters>]

Description

Get-M365UnifiedTenantSettings retrieves the current tenant settings for a particular tenant.

Examples

Example 1

PS C:\> Get-M365UnifiedTenantSettings

Returns all the current tenant settings for this tenant.

Example 2

PS C:\> Get-M365UnifiedTenantSettings -SettingNames DefaultApp

Returns the current tenant setting for DefaultApp for this tenant.

Example 3

PS C:\> Get-M365UnifiedTenantSettings -SettingNames DefaultApp,EnableCopilotExtensibility

Returns the current tenant setting for DefaultApp and EnableCopilotExtensibility for this tenant.

Parameters

-SettingNames

Setting names requested. Possible values - DefaultApp,GlobalApp,PrivateApp,EnableCopilotExtensibility

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

Inputs

None

Outputs

System.Object

SettingName Setting Name returned.

SettingValue The status of this setting in the tenant. Values:

  • All
  • None
  • Some (only applicable for EnableCopilotExtensibility)

Users The list of users this setting is applicable to (only applicable for EnableCopilotExtensibility).

Groups The list of groups this setting is applicable to (only applicable for EnableCopilotExtensibility).