Forum Discussion
Rest API Access token using OAuth Token
- Anonymous2 years ago
Hi MD39 ,
Based on my testing, even if you successfully generate an AAD token, the content permissions that your token can access are still determined by the value defined in the scope parameter, so if you want to run the Power BI API, you can try to define and fill in the scope parameter with this value
https://analysis.windows.net/powerbi/api/.default
At the same time, you can also make sure that the required scope of the application used to generate the token has been filled in using the delegated.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi MD39 ,
Based on my testing, even if you successfully generate an AAD token, the content permissions that your token can access are still determined by the value defined in the scope parameter, so if you want to run the Power BI API, you can try to define and fill in the scope parameter with this value
https://analysis.windows.net/powerbi/api/.default
At the same time, you can also make sure that the required scope of the application used to generate the token has been filled in using the delegated.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.