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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
CRMPowerBI
Microsoft Employee
Microsoft Employee

Datasource Creation Failure: Attempting to Connect to a SSAS Running on Azure VM

I've really tried everything I believe I can find... but instead of saying what I did do and confuse anything. Here is the error,

Unable to connect: We encountered an error while trying to connect to crmolap.cloudapp.net. Details: "The connection to the Analysis Services instance timed our or was lost. Ensure that the server and the 'SQL Browser' service are running

 

  • Azure VM Sql 2016
  • Ports for 1434, 1433, 2382, 2383 (TCP / UDP) are opened
  • I can connect from the local VM to SSAS
  • I have the Power BI Gateway installed (and it says good). I can see it from WWW.PowerBI.Com

However I get the error about being unable to connect 😞 and I can't figure out what to do. My Guess is it is a Firewall / Port type issue (as I can make it work from my local machine)

Maybe it's the whole random port for SSAS.. or something else 😞 just not able to put things together in my own brain to make it work.

Any suggestions would be awesome and thank you

1 ACCEPTED SOLUTION
CRMPowerBI
Microsoft Employee
Microsoft Employee

What I figured out (and NO i don't know why this is so, just that it is), is that i had to use the IP address, instead of the Virtual Machine DNS Name.

 

I validated this by opening SMO for Analysis Services... (and btw I was ON the vm when doing this). Typed in the DNS name and it would fail with the errors above (server not running etc).

 

I said what the heck. I pinged that DNS name and it appeared to have the correct IP address, but i said ok.. let me just try the IP address. And bingo it worked

 

Went back into Power BI, typed in the IP and it worked..


that's dumb.

View solution in original post

1 REPLY 1
CRMPowerBI
Microsoft Employee
Microsoft Employee

What I figured out (and NO i don't know why this is so, just that it is), is that i had to use the IP address, instead of the Virtual Machine DNS Name.

 

I validated this by opening SMO for Analysis Services... (and btw I was ON the vm when doing this). Typed in the DNS name and it would fail with the errors above (server not running etc).

 

I said what the heck. I pinged that DNS name and it appeared to have the correct IP address, but i said ok.. let me just try the IP address. And bingo it worked

 

Went back into Power BI, typed in the IP and it worked..


that's dumb.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.