Skip to content

Commit acb3c7f

Browse files
dont change the state of account enabled when patching
1 parent 6c8285d commit acb3c7f

File tree

1 file changed

+0
-1
lines changed
  • Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users

1 file changed

+0
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-EditUser.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Function Invoke-EditUser {
3838
$BodyToship = [pscustomobject] @{
3939
'givenName' = $UserObj.givenName
4040
'surname' = $UserObj.surname
41-
'accountEnabled' = $true
4241
'displayName' = $UserObj.displayName
4342
'department' = $UserObj.Department
4443
'mailNickname' = $UserObj.Username ? $UserObj.username :$UserObj.mailNickname

0 commit comments

Comments
 (0)