Edit

Share via


Get-M365UnifiedTenantSettings

This cmdlet returns the current tenant settings for a particular tenant

Syntax

Default (Default)

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

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).