Forum Discussion
Get the 403 when using auth token authenticate for the PowerBI REST API
- 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.
Hi 112JKJKSD ,
Please refer the following link to get the token by REST API:
https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token
And check if it hit any of following considerations and limitations:
In addition, the following link had the similar problem as yours. Hope its solution can also help you solve the problem.
Power BI embed error 403 forbidden error from server
Best Regards
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.
- Anonymous3 years agoNot applicable
Hi 112JKJKSD ,
It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards