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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.