Forum Discussion

edsonromero's avatar
edsonromero
New Member
8 years ago

Unauthorized Client Power BI Embed Access Token

Hi,

 

I'm having this error when I try to get the access token:

 

"   {"error":"unauthorized_client","error_description":"AADSTS70001: Application '5d0c6c40-85ef-4198-946b-a2508f12a35f' is not supported for this API version.\r\nTrace ID: a0131325-7356-4725-939b-abcbc9c94600\r\nCorrelation ID: 9dc887f4-cfaa-4fe1-b1e4-54c3694d685b\r\nTimestamp: 2017-12-12 16:12:30Z","error_codes":[70001],"timestamp":"2017-12-12 16:12:30Z","trace_id":"a0131325-7356-4725-939b-abcbc9c94600","correlation_id":"9dc887f4-cfaa-4fe1-b1e4-54c3694d685b"}"
 
What can it be? I've granted permissions in azure portal.
 
Thanks!

1 Reply

  • v-ljerr-msft's avatar
    v-ljerr-msft
    Microsoft Employee

    Hi edsonromero,

     

    According to the error message, it seems to be that your application may not be registered properly with Azure AD to allow your application access to the Power BI REST APIs. I would suggest you recheck the steps in this documentation to re-register your application. Following are some steps you may need to pay more attention to. :smileyhappy:

     

    The App type selection will depend on the type of application you are using.

    • Use Server-side Web app for web apps or web APIs.
    • Use Native app for apps that run on client devices. You will also choose *Native app if you are embedding content for your customers regardless of what the actual application is. Even for web applications.***

    If you are embedding content for your customers, you will need to configure additional permissions within the Azure portal. For more information, see Apply permissions to your application.

     

    Regards