The Data Processing error VM Gateway required to access datasource turned out to be not related to the context of the message at all, it was just an issue with the connection string. A single space before the port number was the issue and once removed the data processing could take place. The connection string was copied from elsewhere where a space was working fine, e.g. SQL MI server properties. Resolved through Microsoft support and they will raise the incorrect message with the production team. Thanks.
Analysis Services Tabular Model - Processing Data - Error On-Premise Gateway is required to access the data source
Hi,
We were working with Analysis Services and a Private Endpoint SQL MI. An On premise Gateway was required for this set up but this was not a full PaaS so removed.
In Azure we have removed an On Premise Gateway and deleted the Gateway VM, also switched the SQL Managed Instance to Public. A new Analysis Services has since been created in Azure. Tabular Models can be created but on processing data we get:
"Failed to save modifications to the server. Error returned: 'On-Premise Gateway is required to access the data source. Please install a unified gateway for the server sqlasprod or disable AlwaysUseGateway setting if it's enabled"
The Gateway reference has been removed from the Power Apps Platform and also this script below has been run as the poster said that the Gateway was still in existence unless this script was run:
Remove-AzureRmResource -ResourceId "/subscriptions/xxxx/resourceGroups/xxxx/providers/Microsoft.Web/connectionGateways/xxxxGateway" -Force
There is still a reference to the deleted Gateway somewhere in Azure but we need to know how to remove this please? case raised with Microsoft but no resolution found as yet.
Paul
Azure Analysis Services
SQL Server Analysis Services
2 answers
Sort by: Most helpful
-
-
Darren Gosbell 2,376 Reputation points
2022-02-18T04:20:14.56+00:00 Have you checked the AlwaysUseGateway setting on your AzureAS instance has not been set to true? This article has a screenshot half way down showing where you can change this setting.
https://faun.pub/secure-network-connectivity-between-azure-analysis-services-and-azure-sql-4f5444c58e76