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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.