Skip to content

Commit 1c9dd3a

Browse files
emmanuel-karanjaKenitoInc
authored andcommitted
changes to tests
1 parent 5ef91a5 commit 1c9dd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/EntraBeta/customizations/Set-EntraBetaUserPassword.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
8787
$PasswordProfile = @{}
8888
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" }
9090
if($null -ne $PSBoundParameters["Password"]) { $PasswordProfile["password"] = $PlainPassword }
9191
9292
Write-Debug("============================ TRANSFORMATIONS ============================")

0 commit comments

Comments
 (0)