File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
module/EntraBeta/customizations Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 86
86
87
87
$PasswordProfile = @{}
88
88
if($null -ne $PSBoundParameters["ForceChangePasswordNextLogin"]) { $PasswordProfile["ForceChangePasswordNextSignIn"] = $ForceChangePasswordNextSignIn }
89
- if($null -ne $PSBoundParameters["EnforceChangePasswordPolicy"]) { $PasswordProfile["ForceChangePasswordNextSignInWithMfa"] = $true }
89
+ if($null -ne $PSBoundParameters["EnforceChangePasswordPolicy"]) { $PasswordProfile["ForceChangePasswordNextSignInWithMfa"] = $EnforceChangePasswordPolicy" }
90
90
if($null -ne $PSBoundParameters["Password"]) { $PasswordProfile["password"] = $PlainPassword }
91
91
92
92
Write-Debug("============================ TRANSFORMATIONS ============================")
You can’t perform that action at this time.
0 commit comments