Analysis Services Tabular Model - Processing Data - Error On-Premise Gateway is required to access the data source

P Johns 16 Reputation points
2022-02-16T13:57:55.803+00:00

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
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
{count} votes

2 answers

Sort by: Most helpful
  1. P Johns 16 Reputation points
    2022-02-18T10:33:43.163+00:00

    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.

    2 people found this answer helpful.

  2. 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

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.