Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I am able to successfully generate the Access Token, But not able to access the REST API. - https://api.powerbi.com/v1.0/myorg/reports.
App is registered within Azure.
Follwing are used generate the Access Token.
Client Id
Client Secret
grant Type = client_credentials
scope = https://graph.microsoft.com/.default
Please refer Screenshot.
Thank you!
Solved! Go to Solution.
HI @JD09,
It seems like you faced the 403 error, this issue will appear when you access to the wrong resource or not has enough permissions.
For this scenario, I'd like to suggest you check the account permissions if it allows you to access to correspond rest API.
In addition, I’d like to suggest you also check the request URL, the wrong URL will affect the usages.
Regards,
Xiaoxin Sheng
HI @JD09,
It seems like you faced the 403 error, this issue will appear when you access to the wrong resource or not has enough permissions.
For this scenario, I'd like to suggest you check the account permissions if it allows you to access to correspond rest API.
In addition, I’d like to suggest you also check the request URL, the wrong URL will affect the usages.
Regards,
Xiaoxin Sheng
check your token at jwt.io - most likely your scope definition isn't good enough.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.