Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXOMessageClassification: Fix issue while creating policy for first time #4878

Merged
merged 4 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@
* 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)
* M365DSCDRGUtil
* Fixes an issue with nested and duplicate settings in the settings catalog
* 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
Loading