File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
DSCResources/MSFT_EXOPlace Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11# Change log for Microsoft365DSC
22
3+ # UNRELEASED
4+
5+ * EXOPlace
6+ * Fixes an issue with the export where it was trying to export RoomList.
7+
38# 1.25.1203.2
9+
410* DEPENDENCIES
511 * Updated MSCloudLoginAssistant to version 1.1.56.
612
Original file line number Diff line number Diff line change @@ -607,7 +607,8 @@ function Export-TargetResource
607607 # endregion
608608 try
609609 {
610- [array ]$places = Get-Place - ResultSize ' Unlimited' - ErrorAction Stop
610+ [array ]$places = Get-Place - ResultSize ' Unlimited' - ErrorAction Stop | `
611+ Where-Object - FilterScript { $_.PlaceType -ne ' RoomList' }
611612 $dscContent = ' '
612613
613614 if ($places.Length -eq 0 )
Original file line number Diff line number Diff line change @@ -197,8 +197,11 @@ function Start-M365DSCConfigurationExtract
197197 $ComponentsToSkip += $ExcludeComponents
198198 }
199199
200- $resourcesInBothIncludeAndExclude = Compare-Object - ReferenceObject $Components `
201- - DifferenceObject $ComponentsToSkip - ExcludeDifferent - IncludeEqual
200+ if ($null -ne $Components )
201+ {
202+ $resourcesInBothIncludeAndExclude = Compare-Object - ReferenceObject $Components `
203+ - DifferenceObject $ComponentsToSkip - ExcludeDifferent - IncludeEqual
204+ }
202205 if ($resourcesInBothIncludeAndExclude.Count -gt 0 )
203206 {
204207 foreach ($resource in $resourcesInBothIncludeAndExclude )
You can’t perform that action at this time.
0 commit comments