Forum Discussion
How to use Power BI Rest API without GUI authentication (redirect uri)
- 10 years ago
You can use the user name and password flow that AAD supports. This 3rd party client library has an example: https://github.com/Vtek/PowerBI.Api.Client
Thanks for your suggestion.
I will try it.
Did the suggestion provided by him worked for you. Because i feel the suggestion provided is not relavant to the one you asked. He mentioned as "using the refresh token provided by the GUI authentication process" but as per my understanding its not the question you asked. I guess asked not to redirect to the loginpage, instead it should authenticate silent through code and get the "code" parameter in turn.
- seijim10 years ago
Microsoft Employee
Thanks for your message.
Actually his answer doesn't completely adapt to my requirement in the point of GUI less.
But that's an useful workaroound.
Azure Stream Analytics (ASA) also requires Web GUI authentication on management portal when we select Power BI output.
I've been thinking that his workaround is an only solution because ASA behaves so.
Do you know how to implement silent authentication ?
Regards,
-seiji