-
Notifications
You must be signed in to change notification settings - Fork 438
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: Fails to log exception #4645
Comments
ricmestre
changed the title
O365AuditAdminLog: Fails to log exception
O365AdminAuditLogConfig: Fails to log exception
May 8, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the issue
If for some reason Set-AdminAuditLogConfig fails then the exception won't be logged since New-M365DSCLogEntry is being called with the parameter Message twice, which will result in error message in the console.
The fix is to just remove one of those Message parameters, I'll raise a PR shortly for this.
Microsoft 365 DSC Version
1.24.424.1
Which workloads are affected
other
The DSC configuration
N/A
Verbose logs showing the problem
N/A
Environment Information + PowerShell Version
N/A
The text was updated successfully, but these errors were encountered: