Skip to content

Commit

Permalink
Merge pull request #4646 from ricmestre/fix4645
Browse files Browse the repository at this point in the history
O365AdminAuditLogConfig: Fix logging of exception
  • Loading branch information
NikCharlebois committed May 29, 2024
2 parents 1f9fa7a + 9e2549c commit 264ef1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 264ef1b

Please sign in to comment.