Forum Discussion
Anonymous
4 years agoNot applicable
403 error message while trying to hit PBI API (I am able to get the token)
Hi All! I am tryng to user the new service proncipal profile feature in order to publish datasets on multiple tenents using PBI API. I created an app registration, Azure AD group for the service pr...
- 4 years ago
The AAD token you are generating in
GetServicePrincipalToken
is not set with the right audience
make sure the token you are using is with the right audience for powerbi API's "https://analysis.windows.net/powerbi/api"
Swetha__Balusam
1 year agoNew Member
Hi, I am using Power BI trial account. Using service principal to get the token to access power BI apis. I get the token and when I access the API https://api.powerbi.com/v1.0/myorg/datasets, I get the error {
"Message": "API is not accessible for application"
} with 403 error. Can you please help me on this?