PowerBI-Audit-Log-Extraction
Hello Everyone, this code snipet is to interact with Microsoft O365 Admin to extract the data about the PowerBI audit log. In order to successfully run this code you must need admin permissions.
Steps to do before running this code.
- Go to Azure Directory. Make a new services group.
- Go to PowerBI Admin section, over there search for API in Developer section.
- Add the name of services group you made in Azure Directory.
- Save the PowerBI sections.
- Try the code.
Tip: It is advised to run the code for oneday to see the shape and type of data which is being extracted. Then load the data to snowflake or database or to excel.