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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.