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

O365AdminAuditLogConfig: Fix logging of exception #4646

Merged
merged 7 commits into from
May 29, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
* IntuneSettingCatalogASRRulesPolicyWindows10
* Add missing properties
FIXES [#4713](https://github.com/microsoft/Microsoft365DSC/issues/4713)
* O365AdminAuditLogConfig
* Fix logging of exception if Set-AdminAuditLogConfig fails
FIXES [#4645](https://github.com/microsoft/Microsoft365DSC/issues/4645)
* ResourceGenerator
* Added `AccessTokens` parameter to PS1 and MOF template
* DEPENDENCIES
* Updated DSCParser to version 2.0.0.5.
* Rolling back ExchangeOnlineManagement to version 3.4.0.
* Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.188.

# 1.24.522.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ function Set-TargetResource
$Message = "Couldn't set the Audit Log Ingestion. Please run Enable-OrganizationCustomization first."
New-M365DSCLogEntry -Message $Message `
-Exception $_ `
-Message $Message `
-Source $MyInvocation.MyCommand.ModuleName
}
}
Expand Down