Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
v-wuling
Employee
Employee

how to connect to PowerBI using C#

I follow the article: https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-authenticate-a-web-app/, download the sample http://go.microsoft.com/fwlink/?LinkId=619279,when I run the project in VS, I get the error :

 

An exception of type 'Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException' occurred in Microsoft.IdentityModel.Clients.ActiveDirectory.dll but was not handled in user code
 
Additional information: AADSTS70000: Authentication failed: Authorization Code is malformed or invalid.
 
Trace ID: b83ddc21-a4e0-4013-80c7-23253397e619
 
Correlation ID: f305fc18-aefd-40d0-a71d-8c278a7abbb5
 
Timestamp: 2016-03-02 08:47:54Z
Who can tell me the solution? Appreciate.
0 REPLIES 0

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.