Skip to content

Commit

Permalink
Merge pull request #4878 from ricmestre/fix4877
Browse files Browse the repository at this point in the history
EXOMessageClassification: Fix issue while creating policy for first time
  • Loading branch information
NikCharlebois committed Jul 17, 2024
2 parents 805c44a + 1073617 commit 3253e69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
* EXOHostedOutboundSpamFilterPolicy
* Changed the RecipientLimitInternalPerHour, RecipientLimitPerDay, and
RecipientLimitExternalPerHour parameters to UInt32.
* EXOMessageClassification
* Fix issue while creating policy for first time
FIXES [#4877](https://github.com/microsoft/Microsoft365DSC/issues/4877)
* IntuneDiskEncryptionWindows10
* Initial Release
* Initial Release
FIXES [#4050](https://github.com/microsoft/Microsoft365DSC/issues/4050)
* IntuneWindowsUpdateForBusinessQualityUpdateProfileWindows10
* Initial release.
Expand All @@ -16,8 +19,8 @@
* M365DSCResourceGenerator
* Update Intune resource generation.
* M365DSCReport
* Changes behaviour to not throw on empty configuration during report generation.
FIXES [#4559](https://github.com/microsoft/Microsoft365DSC/issues/4559)
* Changes behaviour to not throw on empty configuration during report generation.
FIXES [#4559](https://github.com/microsoft/Microsoft365DSC/issues/4559)
FIXES [#4505](https://github.com/microsoft/Microsoft365DSC/issues/4505)
* Fixes an issue where the comparison treats empty arrays as an empty string.
FIXES [#4796](https://github.com/microsoft/Microsoft365DSC/issues/4796)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function Set-TargetResource
$ConnectionMode = New-M365DSCConnection -Workload 'ExchangeOnline' `
-InboundParameters $PSBoundParameters

$MessageClassification = Get-MessageClassification -Identity $Identity
$MessageClassification = Get-MessageClassification -Identity $Identity -ErrorAction SilentlyContinue
$MessageClassificationParams = [System.Collections.Hashtable]($PSBoundParameters)
$MessageClassificationParams.Remove('Ensure') | Out-Null
$MessageClassificationParams.Remove('Credential') | Out-Null
Expand Down

0 comments on commit 3253e69

Please sign in to comment.