diff --git a/CHANGELOG.md b/CHANGELOG.md index 933fb4e71e..6222af4b2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ * SCProtectionAlert * Prevents extracting system rules. FIXES [#3224](https://github.com/microsoft/Microsoft365DSC/issues/3224) +* MISC + * Fixes the display of arrays as property values for Excel based reports from New-M365DSCReportFromConfiguration. + FIXES [#3173](https://github.com/microsoft/Microsoft365DSC/issues/3173) # 1.23.614.1 diff --git a/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 index 60d08a221a..0685ac32cc 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 @@ -412,7 +412,7 @@ function New-M365DSCConfigurationToExcel { if ($resource.$property.GetType().Name -eq 'Object[]') { - $value = $resource.$property -join ',' + $value = $resource.$property | Out-String $report.Cells.Item($row, 3) = $value } else