locked
Query AAS with C# or Java RRS feed

  • Question

  • Hi,

    we want to execute DAX querys with XMLA to the AAS, to get a Resultset back. Is there a simple example in C # or Java of what this access looks like. We have the following information (external users without AAD account).

    ResourceGroupName = "xxxxxxxx"

    TenantId = "xxxx-xxxx-xxxx-xxx-xxxx"

    SubscriptionId = "xxxx-xxxx-xxxx-xxx-xxxx"

    AAS-ServerName = "asazure: //westeurope.asazure.windows.net/xxxxxxxx"

    User = "xxxx@xxxxxxxx.onmicrosoft.com"

    Pwd = "xxxxxxxx"

     

    And the Query like this

    <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

           <Body>

              ..

           </Body>

    </Envelope>

     Thank you

    Regards

    Nicole :)


    Answer from MSDN

    Thursday, January 23, 2020 9:53 AM

All replies

  • Hi Nicole,

    Here's an example of querying AAS from C# :

    https://stackoverflow.com/a/43647067/10653466

    You need to use ADOMD.NET which is the Microsoft.AnalysisServices.AdomdClient namespace. It is also available on Nuget.

    Hope this helps.

    Monday, January 27, 2020 3:00 PM