Forum Discussion

zxl1031's avatar
zxl1031
Helper I
8 years ago

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

 

6 Replies

  • Anonymous's avatar
    Anonymous
    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.

    • zxl1031's avatar
      zxl1031
      Helper I

      Hello Anonymous,

       

      Thanks for your reply. I appreciate :smileyhappy:

       

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

       

      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??

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi zxl1031,

         

        Have you tried different authentication mode.

         

  • jaddobumba's avatar
    jaddobumba
    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.