Forum Discussion
Embedded tool authentication error
Hi Anonymous ,
Please cross check the task to perform from
See some similar solutions
https://stackoverflow.com/questions/49491759/unauthorized-error-401-for-power-reports-embedding
See this troubleshotting guide
https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot#api-call-returning-401
- Anonymous6 years agoNot applicable
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.
- Jayendran6 years ago
Solution Sage
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