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
MarkCam
Frequent Visitor

Unable to connect to the data source undefined

Hi All

 

i need some help please, im getting the below error msg when i want to refresh my Dataset, i have updated my Gateways to the latest versions and Password are all in sync and security level is on Organasation on all levels. i have tried everything that i can think of, maybe there is something i am missing. Our SQL server is based on Azure.

 

Regards

MarkError.png

6 REPLIES 6
MarkCam
Frequent Visitor

it keeps on asking me to connect to a gateway, i have changed the source in desktop to Azured Sql Server as well.Screenshot 2022-07-27 130429.png

Hi @MarkCam 


Can you change the database connection to be "databasename.database.windows.net"

 

Once that is done Power BI will see that as an Azure Service and allow it to then connect directly.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi @GilbertQ 

 

I have looked everywhere cant see a way to change the DB Connection.

 

Regards

Hi @MarkCam 

 

THis would be the server name where you would change it?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

gauthamboppana
Solution Specialist
Solution Specialist

@MarkCam  - Azure SQL doesn't need a  gateway. Make sure the below setting is turned on in gateway settings.

Make sure the below setting is turned on in gateway setting.

gauthamboppana_2-1658911299823.png


Also, you need to update the data source credentials in service>>dataset >>setting.

GilbertQ
Super User
Super User

Hi @MarkCam 

 

If you are using an Azure SQL Database you should not need to use a Gateway and you can connect directly?

 

If that still fails I would chat to your DBA to make sure that have allowed connections from other Azure Sources?

GilbertQ_0-1658874063449.png

 

 

And if that still does not work then log a support ticket.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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.