Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello community,
I'm new to Rest API of Power BI, I would like to create a python script to get some informations using the Power BI Rest API.
What credentials/infos I need to have in the script (Tenant_ID, etc), and from where I can get them.
Do I need a specific access from the IT team ?
And as a first exercice, with what do you recommend to me start?
Thank you.
Solved! Go to Solution.
Hi @PBI_Developer2 , I am not fully certain, but to use the Power BI REST API with Python you first need to understand that it requires authentication through Microsoft Entra ID and then interaction with the Power BI Service.
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
Hi @PBI_Developer2 ,
Thank you @Zanqueta for the response provided!
Has your issue been resolved? If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.
Thank you.
Hi @PBI_Developer2 ,
I wanted to follow up and see if you had a chance to review the information shared. If you have any further questions or need additional assistance, feel free to reach out.
Thank you.
Hi @PBI_Developer2 , I am not fully certain, but to use the Power BI REST API with Python you first need to understand that it requires authentication through Microsoft Entra ID and then interaction with the Power BI Service.
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.