Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am a PBI service admin, and I am trying to use PowerShell to call the PBI API and return results from the PBI Activity Log. I run the command below, which should return April data; but it doesn't return any data. When I run the command again to return May data, it succeeds. I am wondering why this happens? I have all of the auditing and logging options enabled in the 'Audit and usage settings', so I should be logging events.
Thanks
Mandy
Solved! Go to Solution.
Hi,
It is because of retention period.You can check with your tenant admin he may be storing the audit data on any server.
Hi,
It is because of retention period.You can check with your tenant admin he may be storing the audit data on any server.
Hi @mandyyki
The power BI activity log only keeps data for the past 30 days, so if you're doing it monthly, it will not show it to you because it is greater than the 30 day start date. I would suggest running it individually day by day to get the data back as far as possible
Hi @GilbertQ ,
Thanks for your reply.
I tried exporting the Power BI logs day by day, but encountered the same issue. I suspect this is because I joined the company in May, so I don't have access to the April data. It seems I can only access log data from the date I joined onwards.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.