Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
i want to fetch power bi metadata in terms of number of reports, datasets and workspaces and store in Snowflake database. how to acheive this?
Solved! Go to Solution.
Step 1: Extract Workspace metadata -
I would suggest you to write a python script to run Power BI Scanner APIs.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-post-workspace-info
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-status
Step 2: Load the data into Snowflake database -
You can further leverage python script to load the medata data to snowflake. Here is article which might help you:
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
|
With PowerShell you can write scripts to call Power BI Rest APIs
https://learn.microsoft.com/en-us/rest/api/power-bi/admin
Extract the logs in JSON or CSV formats then send the extracted files store them in Snowflake.
Finally connect Power BI desktop to build your report.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
With PowerShell you can write scripts to call Power BI Rest APIs
https://learn.microsoft.com/en-us/rest/api/power-bi/admin
Extract the logs in JSON or CSV formats then send the extracted files store them in Snowflake.
Finally connect Power BI desktop to build your report.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi @powerbiexpert22 ,
You can use fabric notebooks and admin api and need create programs to extract data and insert into snowflake database.If required you need to stage the data in onelake.Even it's possible to do something using powershell and vs code.
I hope it will be helpful.
Thanks,
Sai Teja
Step 1: Extract Workspace metadata -
I would suggest you to write a python script to run Power BI Scanner APIs.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-post-workspace-info
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-status
Step 2: Load the data into Snowflake database -
You can further leverage python script to load the medata data to snowflake. Here is article which might help you:
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
|
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.