Skip to content

viktorradu/powerbi-audit-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Export Power BI activity events associated with a specific workspace

The script will prompt for credentials using a browser. Many other authentication methods are supported by the DefaultAzureCredential class. Refer to the Azure Identity documentation

Install the Azure Identity package:

pip install azure-identity

Run the export:

python workspace-activity.py <Workspace GUID>

The script will create a csv file in the current folder.

Modify initial variable values (optional)

batch_hours = 24

Number of hours to include in a single batch. For larger tenants where a single request may result is a timeout, reducing this number to 6 or even 1 may be necessary. A smaller number will result in the script taking longer to complete.

activity_log_days = 30

Total numner of days to include in the export starting from today and going backwards. 30 is the maximum number supported by Power BI.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages