Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.
User | Count |
---|---|
43 | |
32 | |
30 | |
27 | |
25 |
User | Count |
---|---|
55 | |
54 | |
35 | |
33 | |
28 |