From 1b10bcc3bf6037b950985c24491235aa337ccce5 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Wed, 18 Dec 2024 15:05:08 -0500 Subject: [PATCH] Release 1.24.1218.1 --- CHANGELOG.md | 5 ++- .../MSFT_EXOTransportRule.psm1 | 4 +-- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 35 ++++++++++--------- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef121a5f6c..6b89a9c8f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ # Change log for Microsoft365DSC -# UNRELEASED +# 1.24.1218.1 * AADApplication * Added support for Oauth2PermissionScopes. * Fixes comparison issue for permissions. +* EXOTransportRule + * Fixes issue extracting arrays in Get-TargetResource. + * FIXES [#5575](https://github.com/microsoft/Microsoft365DSC/issues/5575) * TeamsMeetingPolicy * Adds support for additional Copilot setting value. * FIXES [#5573](https://github.com/microsoft/Microsoft365DSC/issues/5573) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 index d2c511a0ef..de0953b922 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 @@ -971,8 +971,8 @@ function Get-TargetResource foreach ($key in $inputParams.Keys) { $propertyInfo = $inputParams.$key - $curVar = Get-Variable -Name $key -ErrorAction SilentlyContinue - if ($propertyInfo.ParameterType.Name -eq 'String[]' -and $curVar -ne $null -and $curVar.Value -eq $null) + $curVar = $TransportRule.$key + if ($propertyInfo.ParameterType.Name -eq 'String[]' -and $curVar -eq $null) { $result.$key = @() } diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index ae8e5158c3..abcf010e69 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2024-12-11 +# Generated on: 2024-12-18 @{ @@ -11,7 +11,7 @@ # RootModule = '' # Version number of this module. - ModuleVersion = '1.24.1211.1' + ModuleVersion = '1.24.1218.1' # Supported PSEditions # CompatiblePSEditions = @() @@ -148,23 +148,24 @@ # ReleaseNotes of this module ReleaseNotes = '* AADApplication - * Changed logic to remove all permissions when an empty array is specified. - FIXES [#5534](https://github.com/microsoft/Microsoft365DSC/issues/5534) -* AADFeatureRolloutPolicy - * Fixed policy retrieval - FIXES [#5521](https://github.com/microsoft/Microsoft365DSC/issues/5521) -* IntuneDeviceManagementAndroidDeviceOwnerEnrollmentProfile - * Fixing issue with the way the QrCodeImage property was exported and handled. -* IntuneFirewallPolicyWindows10 - * Fix export of properties that appear multiple times in subsections. -* M365DSCDRGUtil - * Improve settings catalog handling for nested objects. -* M365DSCResourceGenerator - * Fixes an issue with nested object creation. + * Added support for Oauth2PermissionScopes. + * Fixes comparison issue for permissions. +* EXOTransportRule + * Fixes issue extracting arrays in Get-TargetResource. + * FIXES [#5575](https://github.com/microsoft/Microsoft365DSC/issues/5575) +* TeamsMeetingPolicy + * Adds support for additional Copilot setting value. + * FIXES [#5573](https://github.com/microsoft/Microsoft365DSC/issues/5573) + * FIXES [#5550](https://github.com/microsoft/Microsoft365DSC/issues/5550) * MISC - * Migrate `MSCloudLoginAssistant` authentication context access to cmdlets. + * Fixed the Fabric web request to use basic parsing. + * Reset only necessary authentication context. +* M365DSCUtil + * Update `Get-M365DSCWorkloadsListFromResourceNames` function for more input types. + FIXES [#5525](https://github.com/microsoft/Microsoft365DSC/issues/5525) * DEPENDENCIES - * Updated MSCloudLoginAssistant to version 1.1.29.' + * Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.202. + * Updated MSCloudLoginAssistant to version 1.1.31.' # Flag to indicate whether the module requires explicit user acceptance for install/update # RequireLicenseAcceptance = $false