TMA-EXCHANGE-3.2
Ensure 'Allow unmanaged devices' is set to 'False'
Mô tả
This policy setting determines whether Exchange will allow devices that do not accept security policy updates from the Exchange server to use ActiveSync. AllowNonProvisionableDevices must be False. Prints the number of mobile device mailbox policies that do not comply (expected 0). Run on a Mailbox server; every mobile device mailbox policy is checked. Run from an Exchange Management Shell or after `Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn`; the audit loads the snap-in itself when Get-ExchangeServer is missing and fails if it cannot.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn -ErrorAction Stop }; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { throw 'Exchange Management Shell cmdlets are not available' }; $ts = { param($v) $s = "$v"; if (-not $s -or $s -eq 'Unlimited') { $null } else { [timespan]$s } }; $num = { param($v) $s = "$v"; if ($s -match '^\d+$') { [int64]$s } else { $null } }; $bad = @(Get-MobileDeviceMailboxPolicy -ErrorAction Stop | Where-Object { $_.AllowNonProvisionableDevices -ne $false }); $bad.Count- Đầu ra mong đợi
0
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
Set-MobileDeviceMailboxPolicy '<Profile>' -AllowNonProvisionableDevices $false
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- exchangemobile
- Tham chiếu
- CIS Microsoft Exchange Server 2019 Benchmark v1.0.1 - 3.2 Ensure 'Allow unmanaged devices' is set to 'False'
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.
tmaegis scan --target exchange