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
Deep
Helper I
Helper I

How to change redirect URL from localhost to web application's URL

I am trying to embed a report to my application using VisualStudio.net. When I run the web.config file in VisualStudio It redirects me to localhost but It should be redirected to web URL. I changed the URL in azure where the app is registered but that didn't work either.

1 REPLY 1
Anonymous
Not applicable

Hi @Deep,

Did you mean you are working with a report that designed by the localhost data source and you want to modify the data source URL after you publish it to the service side?

If this is a case, you can take a look at the following blog to parameterize your connection string with query parameter then you can modify it on power bi service side.

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev 

Datasets - Update Parameters 

If that not meet your requirement, please share more detailed infusions to help us clarify your scenario:

How to Get Your Question Answered Quickly 
In addition, you can also try to post to another programming/developer forums if these not related to power bi.
Regards,

Xiaoxin Sheng

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.