Skip to content

Commit

Permalink
Merge pull request #3776 from NikCharlebois/Dev
Browse files Browse the repository at this point in the history
Fix export of resources mailbox with groups as delegates.
  • Loading branch information
NikCharlebois authored Oct 11, 2023
2 parents 7a046f6 + 75a04f6 commit 0539272
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* AADRoleEligibilityScheduleRequest
* Added support for groups assignment.
FIXES [#3744](https://github.com/microsoft/Microsoft365DSC/issues/3744)
* EXOCalendarProcessing
* Added support for retrieved groups as calendar delegates.
* EXODistributionGroup
* Fixes the export of group membership to use Identity.
* TeamsUpgradeConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ function Get-TargetResource
{
foreach ($user in $calendarProc.ResourceDelegates)
{
$userInfo = Get-User -Identity $user
$ResourceDelegatesValue += $userInfo.UserPrincipalName
$userInfo = Get-Recipient -Identity $user
$ResourceDelegatesValue += $userInfo.PrimarySmtpAddress
}
}

Expand Down

0 comments on commit 0539272

Please sign in to comment.