From a33ee567dc4d0d7e290fb8a8837940adbef58656 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Thu, 16 Mar 2023 09:22:58 -0400 Subject: [PATCH] Release 1.23.315.2 --- CHANGELOG.md | 5 +++ .../MSFT_EXORoleGroup/MSFT_EXORoleGroup.psm1 | 2 +- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 37 +------------------ 3 files changed, 8 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc5f1320e5..028f24d25b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log for Microsoft365DSC +# 1.23.315.2 + +* EXORoleGroup + * Fixes an issue with the Export process where the name of the role wasn't properly set causing errors. + # 1.23.315.1 * AADConditionalAccessPolicy diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXORoleGroup/MSFT_EXORoleGroup.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXORoleGroup/MSFT_EXORoleGroup.psm1 index 9c76fc0708..581ab0f02a 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXORoleGroup/MSFT_EXORoleGroup.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXORoleGroup/MSFT_EXORoleGroup.psm1 @@ -420,7 +420,7 @@ function Export-TargetResource foreach ($RoleGroup in $AllRoleGroups) { Write-Host " |---[$i/$($AllRoleGroups.Count)] $($RoleGroup.Name)" -NoNewline - $roleGroupMember = Get-RoleGroupMember -Identity $Name | Select-Object DisplayName + $roleGroupMember = Get-RoleGroupMember -Identity $RoleGroup.Name | Select-Object DisplayName $Params = @{ Name = $RoleGroup.Name diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index a8570c4cc6..41850b6b4d 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -139,41 +139,8 @@ IconUri = 'https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/Dependencies/Images/Logo.png?raw=true' # ReleaseNotes of this module - ReleaseNotes = '* AADConditionalAccessPolicy - * Handle Named Location "Multifactor authentication trusted IPs" - Fixed [#2974](https://github.com/microsoft/Microsoft365DSC/issues/2974) - * Export and handle guest and external users. - Fixed [#2965](https://github.com/microsoft/Microsoft365DSC/issues/2965) - * AADEntitlementManagementConnectedOrganization - * Initial release - * EXOOrganizationConfig - * Add support for the MessageRecallEnabled parameter. - FIXES [#2978](https://github.com/microsoft/Microsoft365DSC/issues/2978) - * EXORoleAssignmentPolicy - * Allow description and role change at the same time. - FIXES [#2977](https://github.com/microsoft/Microsoft365DSC/issues/2977) - * EXORoleGroup - * Initial release - * EXOTransportConfig - * Ensures the ExternalDsnDefaultLanguage property is correctly escaped. - FIXES [#2970](https://github.com/microsoft/Microsoft365DSC/issues/2970) - * IntuneAppProtectionPolicyiOS - * Amended MinimumWipeOSVersion case - FIXES [#3000](https://github.com/microsoft/Microsoft365DSC/issues/3000) - * PPTenantIsolationSettings - * Fixes the export of the Rules block which wasn t properly formatted. - FIXES [#2979](https://github.com/microsoft/Microsoft365DSC/issues/2979) - * SPOTenantSettings - * Add support for the CommentsOnSitePagesDisabled parameter. - * MISC - * Added checks in New-M365DSCConnection to ensure beta MSGraph profile is correctly set when requested - FIXES [#2942](https://github.com/microsoft/Microsoft365DSC/issues/2942) - * Added all Certificate related property to the returned values of the Get-TargetResource function - across all Security & Compliance resources. - FIXES [#2989](https://github.com/microsoft/Microsoft365DSC/issues/2989) - * DEPENDENCIES - * Updated Microsoft.Graph dependencies to version 1.23.0. - * Updated Microsoft.PowerApps.Administration.PowerShell to 2.0.156.' + ReleaseNotes = '* EXORoleGroup + * Fixes an issue with the Export process where the name of the role was not properly set causing errors.' # Flag to indicate whether the module requires explicit user acceptance for install/update # RequireLicenseAcceptance = $false