TMAegis
power-platform için daha fazla kural

TMA-POWERPLATFORM-ENV-CREATION

Ensure production environment creation is restricted to administrators

OrtaDüzey 1Otomatikpower-platform

Açıklama

Unrestricted environment creation leads to unmanaged environments outside DLP and backup 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.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

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.disableEnvironmentCreationByNonAdminUsers -eq $true) { 'compliant' } else { 'noncompliant' }
Beklenen çıktı
compliant

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Power Platform admin center > Settings > Tenant settings > Production environment assignments > Only specific admins (or $s = Get-TenantSettings; $s.disableEnvironmentCreationByNonAdminUsers = $true; Set-TenantSettings -RequestBody $s).

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
power-platformgovernance
Referans
CIS Microsoft Dynamics 365 Power Platform Benchmark v1.0.1 - Environment creation (no dedicated CIS benchmark exists for Power Platform)

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target power-platform