TMAegisBeta
Thêm quy tắc cho power-platform

Microsoft Power Platform

TMA-POWERPLATFORM-TRIAL-ENV-CREATION

Ensure trial environment creation is restricted to administrators

ThấpCấp 2Tự độngpower-platform

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh 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' }
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
power-platformgovernance
Tham chiếu
CIS Microsoft Dynamics 365 Power Platform Benchmark v1.0.1 - Trial environment creation (no dedicated CIS benchmark exists for Power Platform)

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

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