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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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