Open okontoe opened 2 years ago
Thanks for the report. Unfortunately, I don't currently manage our Exchange infrastructure anymore, so it is not possible for me to work on updating this old script. Based on the link you posted, it seems likely MS changed something, or possibly a bug in powershell.
Aw, man. I was hoping you would update the script as it's a great script that I've used a long time as well as others. Thanks for getting back with me.
From: Mjolinir @.> Sent: Thursday, April 28, 2022 9:33 AM To: Mjolinir/Powershell-Scripts @.> Cc: Hoerner, Mike (LNG-DAY) @.>; Author @.> Subject: Re: [Mjolinir/Powershell-Scripts] Exchange 2016 CU22 Issue (Issue #2)
Thanks for the report. Unfortunately, I don't currently manage our Exchange infrastructure anymore, so it is not possible for me to work on updating this old script. Based on the link you posted, it seems likely MS changed something, or possibly a bug in powershell.
- Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMjolinir%2FPowershell-Scripts%2Fissues%2F2%23issuecomment-1112209676&data=05%7C01%7Cmike.hoerner%40reedelsevier.com%7C72eb54ca7eb4444329cd08da291ba084%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637867496325068472%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p7JBGGbR97mCqEGcuMhQ%2FHK1e30ruknz4BSoaDC61qo%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAY5JYSSXXEFOXLPYAFN5TOTVHKHRDANCNFSM5UO57GOQ&data=05%7C01%7Cmike.hoerner%40reedelsevier.com%7C72eb54ca7eb4444329cd08da291ba084%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637867496325068472%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JB5NLP2Mby2wdE68c8AxWmqeFs1sMXbzl%2FFc1Jgp7ZY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
There is an issue with the Auditreport.ps1 script with Exchange 2016 CU22. Prior to Exchange 2016 CU22, it worked fine.
The param [Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogEvent] should be of type [object], which appears to be where the script is failing.
Other people are reporting similar issues as outlined in the following link https://docs.microsoft.com/en-us/answers/questions/615858/new-auditlogreport-the-input-object-cannot-be-boun.html
The above link also shows the error message.