title: Power BI REST API with Python
body: <p>I'm seeking more help on the following thread, <a href="https://stackoverflow.com/questions/35254559/client-credentials-dont-work-for-powerbi-rest-api">Client-credentials don&#39;t work for powerBI REST API</a>, as I can't post any comments yet. I have the exact same situation as described in that question: I can obtain an access token, but using it for datasets gives me a <code>403</code> response. My goal is to use the Power BI REST API in Python without UI.</p>
  
  <p>Could anyone clarify how the mentioned authentication flow using the username and password is achieved and at which stage? Do I first obtain the access token, or do I not need any access token at all?</p>
  
  <p>Or, maybe someone has solved the authentication flow without using username and password?</p>
  
  <p>Any help is greatly appreciated!</p>