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
frankvb
Helper II
Helper II

Override automatic tenant switch for url's to reports in an app

TLDR:

When sharing an url to a report (in an app) to a user in a different tenant (added as a guest user to your tenant), can you ensure it opens in your own tenant? Instead of them clicking on it, and landing on the home page of their own tenant?

 

The set-up:

I have an app with three reports that refer to each other with an url.

The url's are going to individual pages of the report by using query string parameters to filter the report.

Now I have invited users from a different tenant to view a version of this report.

They have been added as guest users to our tenant.

They have to accept to join my tenant and they need to authenticate.

I have to give them the right permissions

In order to be able to reach the report I have shared with them, they have to switch tenants in the power bi service. Then they find my app.

 

The problem:

Each time they try to use the buttons with the url, they get switched back to their own tenant. They land on the home page of the power bi service.

In other words the system with the urls does not work for them at all.

 

So is there a way to override the fact they get switched to their own tenant when following my urls?

1 ACCEPTED SOLUTION
tayloramy
Community Champion
Community Champion

Hi @frankvb,

 

I think you can work around this. Add your tenant ID to every link. Append '?ctid=<your-tenant-GUID>' (or &ctid= if there are already query params) to the report/app URLs. That will force guests to open the link in your tenant instead of being bounced to their home tenant. Microsoft calls this out for B2B scenarios.

See: Power BI implementation planning: Tenant setup 

 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.

View solution in original post

3 REPLIES 3
tayloramy
Community Champion
Community Champion

Hi @frankvb,

 

I think you can work around this. Add your tenant ID to every link. Append '?ctid=<your-tenant-GUID>' (or &ctid= if there are already query params) to the report/app URLs. That will force guests to open the link in your tenant instead of being bounced to their home tenant. Microsoft calls this out for B2B scenarios.

See: Power BI implementation planning: Tenant setup 

 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.

Thanks! This worked.

DataVitalizer
Solution Sage
Solution Sage

Hi @frankvb 

You can’t override tenant switching in Power BI, guest users will always be sent to their home tenant first.

 

The workaround is to share the app link from your tenant, have them switch once, and then bookmark or use in‑app navigation buttons otherwise URLs alone won’t keep them in your tenant.

 

Did it work? 👍 A kudos would be appreciated
🟨 Mark it as a solution to help spread knowledge 💡

 

🟩 Follow me on LinkedIn

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors