From 24e3fbe822c7c6d61b4f9bca6f3e42d481c49b00 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Fri, 31 Mar 2023 10:30:26 -0400 Subject: [PATCH] Fixes #3066 --- CHANGELOG.md | 2 ++ .../MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1254f8feee..0aef83b579 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,8 @@ and the apps were not exported. * SPOTenantSettings * [BREAKING CHANGE] Remove deprecated parameter RequireAcceptingAccountMatchInvitedAccount + * Fixes how we are extracting the DisabledWebPartIds parameter. + FIXES [#3066](https://github.com/microsoft/Microsoft365DSC/issues/3066) * TeamsMeetingPolicy * [BREAKING CHANGE] Remove deprecated parameter RecordingStorageMode * DRG diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 index dff98567b7..6867efecb5 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 @@ -184,7 +184,7 @@ function Get-TargetResource HideDefaultThemes = $SPOTenantSettings.HideDefaultThemes MarkNewFilesSensitiveByDefault = $SPOTenantSettings.MarkNewFilesSensitiveByDefault ConditionalAccessPolicy = $SPOTenantSettings.ConditionalAccessPolicy - DisabledWebPartIds = $SPOTenantSettings.DisabledWebPartIds + DisabledWebPartIds = [String[]]$SPOTenantSettings.DisabledWebPartIds CommentsOnSitePagesDisabled = $SPOTenantSettings.CommentsOnSitePagesDisabled Credential = $Credential ApplicationId = $ApplicationId