guyinacube/Embed-API-Sample

I can't get this getting token thing to work

Opened this issue · 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.

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'.]