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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

HELP! Unauthorization 401 error - Integrating report into a web app

Hello,

 

I'm following the tutorial from the official page of power BI (https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-report/), I donwloaded the project sample from github and I changed the ClientID and Client Secret and I did everything according to the manual but when I run the project in visual studio I get this error:

 

 Screenshot_2.jpg

 

I googled this error and tried literarily EVERYTHING but I can't fix it!

PLEASE HELP ME! Smiley Sad

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Anonymous

Please try to login Azure portal and apply more necessary permissions as in below snapshots to the registered app. And then following the steps in this thread to revoke and re-grant the permisson.

 

Capture.PNGCapture2.PNG

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.