Embed-API-Sample icon indicating copy to clipboard operation
Embed-API-Sample copied to clipboard

I can't get this getting token thing to work

Open jon-peel opened this issue 6 years ago • 1 comments

I found this from watching this Video...

I registered the app (at this URL https://dev.powerbi.com/apps), and I got a Client ID.

I opened up the source code, replaced everything that needed to be replaced, but the message I get when running this is

"The user or administrator has not consented to use the application with ID '***' named '***'. Send an interactive authorization request for this user and resource."

I have not been able to find anything that explains what that means, or what I need to do.

jon-peel avatar May 26 '18 06:05 jon-peel

Same problem: It breaks at line 35 in the Main method, here's part of the output:[ System.AggregateException: One or more errors occurred. ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS70002: The request body must contain the following parameter: 'client_secret or client_assertion'.]

stoiandan avatar Jun 11 '18 08:06 stoiandan