Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 58c8b54

Browse files
authoredOct 31, 2024··
Update Set-EntraBetaUserPassword.ps1
1 parent 1c9dd3a commit 58c8b54

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)
Please sign in to comment.