Skip to content

Commit 08f0673

Browse files
emmanuel-karanjaKenitoInc
authored andcommitted
Update Set-EntraBetaUserPassword.ps1
1 parent f6b268c commit 08f0673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/EntraBeta/customizations/Set-EntraBetaUserPassword.ps1

Lines changed: 2 additions & 2 deletions
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"] = $EnforceChangePasswordPolicy" }
89+
if($null -ne $PSBoundParameters["EnforceChangePasswordPolicy"]) { $PasswordProfile["ForceChangePasswordNextSignInWithMfa"] = $EnforceChangePasswordPolicy }
9090
if($null -ne $PSBoundParameters["Password"]) { $PasswordProfile["password"] = $PlainPassword }
9191
9292
Write-Debug("============================ TRANSFORMATIONS ============================")
@@ -97,4 +97,4 @@
9797
$response
9898
}
9999
'@
100-
}
100+
}

0 commit comments

Comments
 (0)