In Analysis Services, turning the AlwaysUseGateway property True/False

Ramya Harinarthini_MSFT 5,351 Reputation points Microsoft Employee
2020-05-08T08:20:13.757+00:00

Hi,
We have a requirement to set the AsPaaS\AlwaysUseGateway property to true and when not in use, turn the property to false
In simple words, we want to automate its value,setting it to true/false whenever we require
Is there any way to do this?

(the below screenshot is of the same property I changed through SSMS)

7948-analysis-service.png

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question]

MSDN Source

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
452 questions
0 comments No comments
{count} votes

Accepted answer
  1. ChiragMishra-MSFT 956 Reputation points
    2020-05-08T08:26:52.527+00:00

    Hello,

    You can use TOM or XMLA, with the client libraries (AMO/ADOMD/PowerShell).

    E.g. https://blog.crossjoin.co.uk/2019/08/25/setting-azure-analysis-services-server-properties-not-visible-in-sql-server-management-studio/ shows how to set a server property using an XMLA script.

    MSDN Source

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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