Forum Discussion

112JKJKSD's avatar
112JKJKSD
New Member
3 years ago
Solved

Get the 403 when using auth token authenticate for the PowerBI REST API

I want to use token authenticate for the Power BI REST APIs. Now I have a service principal, then I using the az command line to login in and generate the token:     az login --service-principal ...
  • 112JKJKSD's avatar
    112JKJKSD
    3 years ago

    Thanks for your reply. I have already check those documents. And I have resolved this issue by adding  --resource https://analysis.windows.net/powerbi/api to the az account get-access-token command.