Microsoft Power Platform
TMA-POWERPLATFORM-ENV-CREATION
Ensure production environment creation is restricted to administrators
中レベル 1自動power-platform
説明
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.
チェック方法
監査方法: シェルコマンド
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' }- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Power Platform admin center > Settings > Tenant settings > Production environment assignments > Only specific admins (or $s = Get-TenantSettings; $s.disableEnvironmentCreationByNonAdminUsers = $true; Set-TenantSettings -RequestBody $s).
プロパティ
- オペレーティングシステム
- すべて
- タグ
- power-platformgovernance
- 参照
- CIS Microsoft Dynamics 365 Power Platform Benchmark v1.0.1 - Environment creation (no dedicated CIS benchmark exists for Power Platform)
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target power-platform