Forum Discussion

eprochasson's avatar
eprochasson
Frequent Visitor
8 years ago
Solved

401 when accessing any Power BI API endpoints

Hi,   I'm trying to access Power BI API in the goal to ultimately embed dashboards for my customers.   I manage to generate an access token (which I assume valid: if I put wrong credentials, it f...
  • eprochasson's avatar
    eprochasson
    8 years ago

    I found something that work and documented it (with code) here: https://bitbucket.org/omnistream/powerbi-api-example

     

    Hopefully it would help other people in need!

     

    It's not entirely satisfying: I'm notably not too sure why I should use this authentication endpoint instead of the one I found in other documentation, nor why I have to use a username/password on top of the app credentials, especially since it's not a super secure way to do it; I'm concerned it may get deprecated in the future. But it works.