Skip to content

Commit

Permalink
Merge pull request #4234 from NikCharlebois/Integration
Browse files Browse the repository at this point in the history
EXOAddressList Fix Empty DisplayName Creation Issue
  • Loading branch information
NikCharlebois authored Jan 23, 2024
2 parents a424866 + 00ef4e3 commit bac871a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
* EXOActiveSyncDeviceAccessRule
* Changed the way Identity is determined by using a combination of the
QueryString and Characteristic parameters.
* EXOAddressList
* Fixed an issue trying to create a new instance when DisplayName is empty.
* SPOSharingSettings
* Fixed an Issue where the MySiteSharingCapability could be returned as an
empty string instead of a null value from the Get method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,14 @@ function Set-TargetResource
ConditionalCustomAttribute9 = $ConditionalCustomAttribute9
ConditionalDepartment = $ConditionalDepartment
ConditionalStateOrProvince = $ConditionalStateOrProvince
DisplayName = $DisplayName
IncludedRecipients = $IncludedRecipients
Confirm = $false
}

if (-not [System.String]::IsNullOrEmpty($DisplayName))
{
$NewAddressListParams.Add('DisplayName', $DisplayName)
}
}
New-AddressList @NewAddressListParams
}
Expand Down

0 comments on commit bac871a

Please sign in to comment.