3.10.0.5
Removed deviceStates property for Conditional Access policy import. The property is depricated
This commit is contained in:
@@ -3951,6 +3951,12 @@ function Start-PreImportConditionalAccess
|
||||
{
|
||||
$obj.sessionControls.disableResilienceDefaults = $null
|
||||
}
|
||||
|
||||
# DeviceStates property is depricated
|
||||
if(($obj.conditions.PSObject.Properties | Where Name -eq "DeviceStates"))
|
||||
{
|
||||
$obj.conditions.PSObject.Properties.Remove('DeviceStates')
|
||||
}
|
||||
}
|
||||
|
||||
function Start-PostExportConditionalAccess
|
||||
|
||||
@@ -130,11 +130,11 @@ function Invoke-InitializeModule
|
||||
}) "MSAL"
|
||||
|
||||
Add-SettingsObject (New-Object PSObject -Property @{
|
||||
Title = "Use WAM for eahanced login methods"
|
||||
Title = "Use WAM for enhanced login methods"
|
||||
Key = "UseWAM"
|
||||
Type = "Boolean"
|
||||
DefaultValue = $false
|
||||
Description = "Use WAM for eahanced login methods"
|
||||
Description = "Use WAM for enhanced login methods"
|
||||
}) "MSAL"
|
||||
|
||||
$script:MSALUseWAM = Get-SettingValue "UseWAM"
|
||||
|
||||
Reference in New Issue
Block a user