Forum Discussion
Get-PowerBIActivityEvents returns a list of objects with empty list attributes
- 1 year ago
Hi Anonymous ,
Thank you for reaching out to Microsoft Fabric Community Forum.
The error you're getting from Get-PowerBIActivityEvents means your current Power BI account doesn't have the required admin privileges to access activity log data.
You must have :
-
Power BI Service Administrator OR
-
Office 365 Global Administrator
If you're not one of these, you'll need to request access from your IT/Admin team.
Regards,
Chaithanya.
-
Think either the dates are misformed or no data in the period.
Try outputting the datetimes strings to sense check. Also try looking back a full 30 days, without a activitytype file
This is a wrapper on the Get Activity Events API. Make sure you are fabric admin or using a service principal with delegated permissions.
- Anonymous1 year agoNot applicable
If I didn't have fabric admin role, I think I would have gotten 403 unauthorized but now I'm just getting bad request. Can you confirm if this is true?