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
bsaunders11
New Member

DMTS_EncryptClusterCredentialsErrorCode

Hey, we have tried to setup a on-premises data gateway SQL connection to an azure logic app and are getting the following error when trying to setup the connection :

build	17-Jan-2018 11:41:38	Starting deployment
error	17-Jan-2018 11:41:47	New-AzureRmResourceGroupDeployment : 11:41:47 - Resource 
error	17-Jan-2018 11:41:47	Microsoft.Web/connections 'test-connection' failed with message '{
error	17-Jan-2018 11:41:47	  "error": {
error	17-Jan-2018 11:41:47	    "code": "ConnectionGatewayFailure",
error	17-Jan-2018 11:41:47	    "message": "Establishing connection with the service failed with code 
error	17-Jan-2018 11:41:47	'DMTS_EncryptClusterCredentialsErrorCode'."
error	17-Jan-2018 11:41:47	  }
error	17-Jan-2018 11:41:47	}'

 

We get this same error when trying to do an automated deploy through an ARM template and when manually creating the connection in the logic app.

 

We have this working in our development environment but now that we have come to try and deploy to production we are running into this issue. 

 

Any help would be greatly appreciated.

 

Thanks
Ben

2 REPLIES 2
mbraekman
New Member

Hi @bsaunders11,

 

I've ran into the same exception before.

Try recreating the "On-Premises Data Gateway"-object in the Azure Portal and make sure you have selected the same location as where you have registered the actual on-premise data gateway-service.

 

For instance, if the installed gateway on your server is registered in the 'North Central US'-region, make sure that the 'On-premises Data Gateway'-resource has been created in that same region.

 

image.png

 

 

Kind Regards,

 

Maxim

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @bsaunders11,

 

Can you make it more specific please? It seems you didn't deploy an on-premises data gateway for Power BI. If so, I would suggest you go to support/forums/ for professional support.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.