Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.