TMAegisBeta
Mais regras para power-platform

Microsoft Power Platform

TMA-POWERPLATFORM-TRIAL-ENV-CREATION

Ensure trial environment creation is restricted to administrators

BaixaNível 2Automatizadapower-platform

Descrição

Trial environments created by makers frequently hold real data with no governance. Requires Microsoft.PowerApps.Administration.PowerShell and an authenticated session (Add-PowerAppsAccount) as a Power Platform administrator; the audit throws if the module is missing.

Como é verificado

Método de auditoria: Comando shell

shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-TenantSettings -ErrorAction SilentlyContinue)) { throw 'Microsoft.PowerApps.Administration.PowerShell is not loaded: run Add-PowerAppsAccount first' }; $s = Get-TenantSettings -ErrorAction Stop; if ($s.disableTrialEnvironmentCreationByNonAdminUsers -eq $true) { 'compliant' } else { 'noncompliant' }
Saída esperada
compliant

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

Power Platform admin center > Settings > Tenant settings > Trial environment assignments > Only specific admins (or set disableTrialEnvironmentCreationByNonAdminUsers = $true via Set-TenantSettings).

Propriedades

Sistemas operacionais
Qualquer
Tags
power-platformgovernance
Referência
CIS Microsoft Dynamics 365 Power Platform Benchmark v1.0.1 - Trial environment creation (no dedicated CIS benchmark exists for Power Platform)

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target power-platform --level 2