You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
ricmestre
changed the title
O365AuditAdminLog: Fails to log exception
O365AdminAuditLogConfig: Fails to log exception
May 8, 2024
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: