Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Members,
I am using PowerBI API to pull admin related data like workspaces , reports , datasources, etc. I have used OAuth2 method to sign in and get the response in python. It was working till last week , but now script starts to throw - Response 400.
My user works fine in power BI api Try it - focus mode.
Any suggesstions on this ? I have tried to connect using service prinicipal method, but no luck .
Do this have something to do with my power BI license . I have Pro license .
Cheers,
Mani
Solved! Go to Solution.
I didn't add the Service Principal as memeber to the security group . After adding that , the api response works fine with using Service Principal Method .
Detailed steps are here : https://data-goblins.com/power-bi/power-bi-api-python
I didn't add the Service Principal as memeber to the security group . After adding that , the api response works fine with using Service Principal Method .
Detailed steps are here : https://data-goblins.com/power-bi/power-bi-api-python
@lbendlin Thanks for your response. I have tried changing the scope (
Check your token at jwt.io - the scope "all" is most likely not accepted.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
20 | |
18 | |
14 | |
11 |
User | Count |
---|---|
32 | |
20 | |
19 | |
18 | |
11 |