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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
jhayes0128
Frequent Visitor

Authenticated website in Power BI App

I have an internal website that I am trying to add to a Power BI App using the 'Add a link' when updating the Power BI App. This internal website (Azure Web App) has Azure Entra authentication. When using this webapp normally the redirect/callback urls works fine and the user is logged in, however when using from the Power BI App it just says "Unauthorized". Is there a redirect URL I need to add, or better yet since app.powerbi.com already has the authenticated user can i simply retreive that token in my web app to authenticate?

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @jhayes0128 ,

 

One possible solution is to use the Microsoft Entra application proxy to enable remote access to your web app and integrate it with Power BI. Alternatively, you can try to configure your web app to accept the Power BI app's token as a valid credential, by registering your web app as an Azure AD app and granting it the appropriate permissions to access Power BI APIs. You can also use OAuth to authenticate your web app with Power BI.
For more details on how to do this, you can refer to these articles.

Configure Microsoft Power BI OAuth in Azure AD | Working with Microsoft Power BI

Edit your Azure AD app's permission settings - Power BI | Microsoft Learn

Enable service principal authentication for read-only admin APIs - Power BI | Microsoft Learn

Enable remote access to Power BI with Microsoft Entra application proxy | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors