Skip to main content

Use Azure Analysis Services

  1. Prerequisites
  2. Create an Analysis Services Resource in Azure
  3. Create an App Registration
  4. Assign the App Registration as Analysis Services Admin
  5. Add Semantic Model Endpoint
  6. Enable use with Azure SQL Managed Instance
  7. Provide Users Access to the Model

Prerequisites

If you created your own application server (not from the Azure Marketplace Template), then you will need to download and install the AMO library.

Create an Analysis Services Resource in Azure

If you already have an Analysis Services in Azure then you can skip this step.

  1. Go to Azure Portal > Create a new Resource > Analysis Services > Create
  2. Assign the Server Name, Subscription , Resource group , and Location
  3. Once deployed, open the resource and note down the Analysis Services Server Name which will look like this: asazure://eastus.asazure.windows.net/xxxxxx.

Create an App Registration

In order to access the Analysis Services resource from the Jet Data Manager, you will need to configure an App Registration in the Microsoft Entra ID.

  1. In the Azure Portal menu, click Microsoft Entra ID , then click App Registrations in the menu bar on the left. Then click New Registration.
  2. Enter a name and select Accounts in this organizational directory onlyThe value of Redirect URI is the URL at which your application is hosted. Click Register when you are done.
  3. For the newly added App Registration, select Certificates & secrets to create a New Client SecretThis key is encrypted after save, so it needs to be documented somewhere safe. The secret will appear after you click Add
  4. Please note the following properties of the App Registration which will be needed later:
    1. Application ID
    2. Client Secret (Application Key)

Assign the App Registration as Analysis Services Admin

This step must be completed using SQL Server Management Studio.

  1. In SSMS, connect to your Azure AS server.
  2. In Server Properties > Security , click Add
  3. Type the name of your app registration in the the search box and click search.
  4. Click the app registration as it appears in the list, click Add.

  5. If your App registration is not visible in search result, enter it manually using the following format: app:<app-ID> @ <tenant-ID>.
  6. Verify the service principal account ID, and then click OK

Screenshot that shows the service principal account ID and highlights the OK button.

Add Semantic Model Endpoint

Note: If using Multiple Environments you should enter these settings as a global database in Environment Properties instead.

  1. In the Jet Data Manager, create a new (or navigate to an existing) Semantic Model.
  2. Right-click Endpoints > Add Analysis Services Tabular Endpoint
  3. Give the Endpoint a name.
  4. Enter the following information:

mceclip2.png

    1. Server : This is the Analysis Service Server Name you noted earlier
    2. Database : This can be anything you decide. A database with this name will be created during deployment.
    3. Deployment Target & Compatibility level : These can typically be left as default.
    4. Go to Server Login > Use Authentication Login > Username : This is the app registration we created earlier. You must prefix the Application ID with "app:"
    5. Password : This is the Application Client Secret which you noted down earlier.
    6. Processing > Use Windows user > Username : This should be a SQL or Azure AD user that has read permission on the Data Warehouse Database.
    7. Password : This is the password for that SQL User.

You can now Deploy & Execute your Semantic model

Enable use with Azure SQL Managed Instance

If you are not using Azure SQL Managed Instance , or an OnPrem SQL Server you can skip this step.

If using Azure SQL Managed Instance for your Data Warehouse, you must configure one of the two following options to connect to Azure Analysis Services. Additionally if you are using an OnPrem SQL server you need to use the second option:

Provide Users Access to the Model

Just like in SQL, Analysis Services requires user permissions to access the model.  This is done by adding user's e-mail address, or you can add Azure User Groups as defined below:

  1. Identify Microsoft Entra ID Group Object ID as shown below:

    mceclip0.png

  2. In the Jet Data Manager project -> Semantic Layer -> Role -> Add Role -> Add External Users, use the following format:

    obj: <Object-ID> @ < tenant -ID>

    mceclip0.png

Was this article helpful?

We're sorry to hear that.