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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Worb
Regular Visitor

Redirect to Power BI Home without prompting for credentials again

Hello everyone!

 

My goal is to click a button on my application, redirect to power bi with silent credentials (microsoft account is stored in my app), without it to prompt for credentials again nor use an embed solution. Sounds simple, but every adapted tutorial i've tried is prompting for those credentials again.

 

My app is using this code right now just to get de AccessToken or IdToken

// Create a user password cradentials.
var credential = new UserPasswordCredential(Username, Password);

// Authenticate using created credentials
var authenticationContext = new AuthenticationContext(AuthorityUrl);
var authenticationResult = await authenticationContext.AcquireTokenAsync(ResourceUrl, ApplicationId, credential);
var token = authenticationResult.AccessToken;
var idToken = authenticationResult.IdToken;

Configured the redirect url in my Azure App too as "https://dev.powerbi.com/Apps/SignInRedirect" or "https://app.powerbi.com"

 

One thing i can assure, if i use the embed solution, it connects perfectly in my Power BI workspace, and can access any report i want, so wrong credentials or wrong ids are of the table.

 

Anyone has any suggestions or any working tutorial that fits my problem?

 

Regards,
Jack Worb

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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