Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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 @SvenApl,
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 @SvenApl,
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
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |