Forum Discussion
po
Post Prodigy
6 years agoundefined
Hi, Have some powershell code to get inventory of workspaces and reports. However, looking to see if could get last accessed, viewed and created added to this. Looking to view acros sthe ...
po
Post Prodigy
6 years agoThanks for link - do you/anyone have example of powershell which looks to see who has viwed which report?
Guess many people have alreday written such powershell commmands - new to powershell.
Also just looks like has activity logs for last 30 days?
nickyvv
Most Valuable Professional
6 years agoCorrect, the Activity logs are (for now) only for 30 days, it might be expanded to 90 days later when it goes out of preview.
Instead, you could also query the O365 Audit log directly, but for that you need to be a Global Admin I think. The Activity log only requires the Power BI Admin role.
If you look at the link of the Activity Log in my previous post, there are also examples in the docs:
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-auditing#operations-available-in-the-audit-and-activity-logs
Instead, you could also query the O365 Audit log directly, but for that you need to be a Global Admin I think. The Activity log only requires the Power BI Admin role.
If you look at the link of the Activity Log in my previous post, there are also examples in the docs:
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-auditing#operations-available-in-the-audit-and-activity-logs
- po6 years ago
Post Prodigy
Thanks for update.
Have read some artciles about just getting one day worth of actvivit ydata.
Do you know of any plans to make a user interface available to view activity across the entire tenant in similar way that we can view activity across a workspace with built in usgae metrics report?