Skip to content

Commit 1e2beb4

Browse files
authored
Merge pull request #144 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents ff2e169 + ba335ea commit 1e2beb4

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Function Invoke-EditUser {
5050
'streetAddress' = $UserObj.streetAddress
5151
'postalCode' = $UserObj.PostalCode
5252
'companyName' = $UserObj.CompanyName
53+
'businessPhones' = $UserObj.businessPhones ? @($UserObj.businessPhones) : @()
5354
'otherMails' = $UserObj.otherMails ? @($UserObj.otherMails) : @()
5455
'passwordProfile' = @{
5556
'forceChangePasswordNextSignIn' = [bool]$UserObj.MustChangePass

0 commit comments

Comments
 (0)