cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

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
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.