Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone,
I encountered a very weird situation today. My goal is to get a list of all dataflows in my tenant via the API (GetDataflowsAsAdmin) using a service principal / azure App.
For this I
Now, using python, I wanted to get the list of all dataflows but I get an 401 Unauhtorized and I am not sure why, since a lot of other admin APIs do work.
E.g. I can query the following and get results back:
But
Solved! Go to Solution.
HI @Anonymous,
Have you take a look at the official document about how to use service principal with power bi rest api and its usage limitations? If not, I'd like to suggest you check them at first.
Regards,
Xiaoxin Sheng
Thank you for your answer! Seems like I missed that article as I didn't think my problem had something to do with embedding.
It would be nice if there were some tags or markers that show which API is supported for service principals and which are not.
In this case it seems that I will have to use my own account.
Best,
Sven
HI @Anonymous,
Have you take a look at the official document about how to use service principal with power bi rest api and its usage limitations? If not, I'd like to suggest you check them at first.
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
6 | |
3 | |
2 | |
2 |