Partager via


Set-TenantSettings

Configures settings for a Power Platform tenant.

Syntax

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.

Type:String
Position:2
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RequestBody

Tenant settings to be updated.

Type:Object
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False