Connect to Azure Analysis Services
This article explains how to connect to an Azure Analysis Services server using various client tools.
msmtxs_users server role is required.
Connecting with SQL Server Management Studio (SSMS)
SQL Server Management Studio is a powerful tool for managing and querying Analysis Services models.
- Open SSMS and connect to your Analysis Services server.
- In the Connect to Server dialog box, enter your server name. The server name format is typically
asazure://<region>/<your_service_name>. - Select the appropriate authentication type (e.g., Azure Active Directory - Universal with MFA).
- Click Connect.
Connecting with Visual Studio (with Analysis Services projects)
Visual Studio provides an integrated development environment for building and deploying Analysis Services models.
- Open Visual Studio with the SQL Server Data Tools (SSDT) installed.
- If you have an existing tabular model project, right-click on the project and select Properties.
- In the Project Properties, navigate to Configuration Properties > Deployment.
- Under Server Name, enter your Analysis Services server name.
- Alternatively, when working with models, you can connect directly through the Model menu > Connect to Database.
Connecting with Tabular Editor
Tabular Editor is a popular third-party tool for semantic model authoring.
- Download and install Tabular Editor.
- Launch Tabular Editor and click File > Connect.
- In the connection dialog, enter your server name (e.g.,
asazure://<region>/<your_service_name>). - Choose your authentication method.
- Click Connect.
Connecting with Power BI Desktop
Power BI Desktop allows you to connect to Azure Analysis Services to build reports.
- Open Power BI Desktop.
- Click Get Data.
- Search for "Azure Analysis Services".
- Select the connector and click Connect.
- Enter your server name in the dialog box.
- Click OK.
- Choose your authentication method and sign in.
Connecting with Other Client Tools
Many other BI and data analysis tools can connect to Azure Analysis Services using the appropriate connection strings and drivers. Common tools include:
- Tableau
- Excel (using Power Pivot)
- QlikView/Qlik Sense
Refer to the specific tool's documentation for detailed connection instructions. Generally, you will need the server name and authentication credentials.
Connection Strings
The basic connection string format is:
asazure://<region>/<your_service_name>
For specific authentication methods, you might need to append parameters. For example, when using Azure Active Directory Universal Authentication:
Server=asazure://<region>/<your_service_name>;Authentication="Active Directory Universal";Uid=your_user_name@your_domain.com;Puid=your_user_principal_name;
Always consult the official Azure documentation for the most up-to-date connection string formats and best practices.
Troubleshooting Connection Issues
- Firewall: Verify that your client IP address is allowed in the Azure Analysis Services firewall settings.
- Permissions: Ensure your user account is a member of the appropriate server role (e.g.,
msmtxs_users). - Server Name: Double-check the server name for typos and ensure it includes the region.
- Authentication: Confirm you are using the correct authentication method and credentials. MFA prompts might appear if using Universal Authentication.