I have used this scripts for years, pretty much unmodified. I have been grateful. Back in 7/2021 it started throwing an error. Was sad to not have PBI Activity data. Finally today I spent a few minutes and learned that for Search-UnifiedAuditLog this is no longer supported:
-RecordType PowerBI
Based on a bit of research I changed it to the below and seem to be getting expected results:
-RecordType PowerBIAudit
Just thought I would share. Perhaps others would appreciate an update to the original blog post...
I have used this scripts for years, pretty much unmodified. I have been grateful. Back in 7/2021 it started throwing an error. Was sad to not have PBI Activity data. Finally today I spent a few minutes and learned that for Search-UnifiedAuditLog this is no longer supported:
-RecordType PowerBI
Based on a bit of research I changed it to the below and seem to be getting expected results:
-RecordType PowerBIAudit
Just thought I would share. Perhaps others would appreciate an update to the original blog post...