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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Helper I
Helper I

Change url in data gateway

Hello everyone,


How I can change the url in data source credentials? I use personal mode data gateway, which works for auto refreshing the sql database but not this REST API.. I notice the API url is not correct and returns error code "400". I want to change the url but cannot find a way to do.. Can anyone help? Thanks so much



Regular Visitor

I am experiencing the same issue. I've updated the authentications and URLs in PowerBI desktop, saved and republished numerous times but the dashboards still pick up the old URL and there doesn't seem to be a way to update this. 

Not applicable

Hi @zxl1031,


You cannnot do the URL chagne in the Power BI server, insted you need to download this report first and make necessory chagne in the connection and then you can publish the report again.


Let me know if the above works, I had one scenario and it worked for me.

Hello @Anonymous,


Thanks for your reply. I appreciate Smiley Happy


I have modified the Data Source Settings in my pbix file as below and then I publish to the workspace .

data source.png


In the server, the data connection looks like below, which is not a correct request and i got error code 400. I don't understand why it detects in such a way??

data gateway.png

Not applicable

Hi @zxl1031,


Have you tried different authentication mode.


@Anonymous I use basic authentication. I don't think it is the auth issue but the url link is actually wrong. Still no way to figure out how to change the url.

Not applicable

@zxl1031, you should create a support ticket and co-ordinate with support team for the same.


Create your request in below link :


Mention that you already have this issue created in community so that if they want more details they can have a look at this page as well.

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.