Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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...
  • mshmordok's avatar
    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"