From 5dc04a9307f368d0b146ded8729d3357e6d345b7 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Fri, 28 Jul 2023 08:37:21 -0400 Subject: [PATCH] Fixes #3500 --- CHANGELOG.md | 4 ++++ .../MSFT_SCRetentionCompliancePolicy.psm1 | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9e656d0ed..2da85c8ee2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ * SCComplianceSearchAction * Adds support for the Preview action type. FIXES [#3498](https://github.com/microsoft/Microsoft365DSC/issues/3498) +* SCRetentionCompliancePolicy + * Fixes an issue where SPN auth parameters weren't returned from the Get-TargetResource + function. + FIXES [#3500](https://github.com/microsoft/Microsoft365DSC/issues/3500) * MISC * M365DscReverse: Fix exporting when $Filter var exists locally FIXES [#3515](https://github.com/microsoft/Microsoft365DSC/issues/3515) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SCRetentionCompliancePolicy/MSFT_SCRetentionCompliancePolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_SCRetentionCompliancePolicy/MSFT_SCRetentionCompliancePolicy.psm1 index c47f710aff..0a4922a2ac 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SCRetentionCompliancePolicy/MSFT_SCRetentionCompliancePolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SCRetentionCompliancePolicy/MSFT_SCRetentionCompliancePolicy.psm1 @@ -212,6 +212,11 @@ function Get-TargetResource SkypeLocation = @() SkypeLocationException = @() Credential = $Credential + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + CertificatePath = $CertificatePath + CertificatePassword = $CertificatePassword } if ($PolicyObject.DynamicScopeLocation.Count -gt 0)