Forum Discussion
Embedded tool authentication error
Hi Jayendran .
Thank you for the suggestions.
I have tried registering the app and I get the following message. I have tried adding the parameter client secret under the line for key applicationID. I've tried adding it as key client_secret, clientsecret and applicationSecret but all return the same error.
Error
AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'. Trace ID: 56de3d8b-110a-4e47-94b8-bbccf5f18d00 Correlation ID: 65111496-fb4b-4a3a-be60-178baebf5775 Timestamp: 2019-11-19 09:33:07Z
The App is registered to have access to every Power BI API permission.
Hi Anonymous ,
Ah you don't need a client secret since this is a Native app.
Please see my answer below in Stackoverflow to convert your application into native app
- Anonymous6 years agoNot applicable
I have changed the client type to the setting Treat application as a publice client (Yes) and the follow error shows. Thanks.
Error
AADSTS65001: The user or administrator has not consented to use the application with ID 'a3bac064-6935-4003-847f-47bf0f8d9989' named 'Power BI Test 5'. Send an interactive authorization request for this user and resource. Trace ID: b7704ba0-781b-4b29-a962-0591a6cc7600 Correlation ID: 9a83f383-90ad-42a2-90ab-6d90425c4f7e Timestamp: 2019-11-19 10:02:25Z- Jayendran6 years agoSolution Sage
Hi Anonymous ,
You are almost in the final stage ,
You need to be a global admin to provide the consent, you can grant the admin cosnent by the above image
Please don't forget to give kudo's or Thumbup for the replay which you got useful.
- Anonymous6 years agoNot applicable
Is it the 'Grant admin conset for Allvotec' that I need to select in this screen shot? I guess that means I need my permissions upped to global admin? Thank you.