Partilhar via


Set-TenantSettings

Configures settings for a Power Platform tenant.

Syntax

Default (Default)

Set-TenantSettings
    [-RequestBody] <Object>
    [[-ApiVersion] <String>]
    [<CommonParameters>]

Description

The Set-TenantSettings cmdlet updates tenant settings in Power Platform. Use Get-Help Set-TenantSettings -Examples for more detail.

Examples

EXAMPLE 1

$requestBody = @{

WalkMeOptOut = $true }

Set-TenantSettings -RequestBody $requestBody

Return: @{walkMeOptOut=True}

Parameters

-ApiVersion

The api version to call with. Default 2016-11-01.

Parameter properties

Type:String
Default value:2016-11-01
Supports wildcards:False
DontShow:False

Parameter sets

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

-RequestBody

Tenant settings to be updated.

Parameter properties

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

Parameter sets

(All)
Position:1
Mandatory:True
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.