From 3b82268b621fe9c2468bbef560433be2b3d6eb0c Mon Sep 17 00:00:00 2001 From: Merill Fernando Date: Tue, 7 Jan 2025 23:23:10 +1100 Subject: [PATCH] Update Test-MtConditionalAccessWhatIf.ps1 Fixed splatting of -DeviceInfo --- powershell/public/Test-MtConditionalAccessWhatIf.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/public/Test-MtConditionalAccessWhatIf.ps1 b/powershell/public/Test-MtConditionalAccessWhatIf.ps1 index 11d325ba..195e2a26 100644 --- a/powershell/public/Test-MtConditionalAccessWhatIf.ps1 +++ b/powershell/public/Test-MtConditionalAccessWhatIf.ps1 @@ -41,7 +41,7 @@ .EXAMPLE Test-MtConditionalAccessWhatIf -UserId '7a6da1c3-616a-416b-a820-cbe4fa8e225e' ` -IncludeApplications 'bbad9299-f060-4e15-9a9a-285980ae00fc' ` - -DeviceInfo { 'isCompliant' = 'true'; 'Manufacturer' = 'Dell' } ` + -DeviceInfo @{ 'isCompliant' = 'true'; 'Manufacturer' = 'Dell' } ` -InsiderRiskLevel 'Minor' This example tests the Conditional Access policies for a user accessing an **application** from a **compliant**, **Dell** device with a **Minor** insider risk level.