Connect client tools to Azure Analysis Services
This document guides you through connecting various client tools to your Azure Analysis Services (AAS) instance.
Supported Client Tools
Azure Analysis Services can be connected to by a variety of popular business intelligence and data modeling tools. The most common include:
- Power BI Desktop
- SQL Server Data Tools (SSDT)
- Excel
- Tableau
- Third-party tools that support Analysis Services connections.
Connection Strings
The primary piece of information you'll need for connection is the server name, which is part of the connection string. You can find your server name in the Azure portal.
Finding Your Server Name
- Navigate to your Azure Analysis Services server in the Azure portal.
- On the Overview page, under Server name, you will find the fully qualified domain name (FQDN) of your server. It typically looks like
yourservername.eastus.asazure.windows.net. - Copy this server name.
Connecting with Power BI Desktop
Power BI Desktop is a common tool for visualizing and analyzing data from Azure Analysis Services.
- Open Power BI Desktop.
- Go to Get data.
- Select Azure from the categories on the left.
- Choose Azure Analysis Services and click Connect.
- In the Server field, paste the server name you copied from the Azure portal.
- Choose the connection mode (DirectQuery or Import). For AAS, DirectQuery is typically recommended.
- Click OK.
- You will be prompted for authentication. Use your Azure Active Directory (Azure AD) credentials.
- Once authenticated, select the tabular model databases you want to connect to.
Connecting with SQL Server Data Tools (SSDT)
SSDT is used for developing tabular models for Analysis Services.
- Open Visual Studio with SQL Server Data Tools installed.
- Create a new project or open an existing one.
- If creating a new project, select Analysis Services Tabular Project.
- In the Tabular model designer, right-click on Data Sources and select New Data Source.
- In the Data Source Wizard, select Azure Analysis Services.
- In the Server name field, enter your AAS server name.
- Click Connect.
- Authenticate using your Azure AD credentials.
- Select the database you want to connect to.
Connecting with Excel
Excel can connect to Azure Analysis Services to create PivotTables and analyze data.
- Open Microsoft Excel.
- Go to the Data tab.
- Click Get Data > From Azure > From Azure Analysis Services.
- In the Server name field, enter your AAS server name.
- Under Connect mode, choose Live Connection.
- Click OK.
- Authenticate with your Azure AD credentials.
- Select the database and tables you want to use.
Connection Security
Azure Analysis Services uses Azure Active Directory for authentication. Ensure your client tools are configured to use Azure AD authentication for secure connections.
Firewall Configuration
If you encounter connection issues, verify that the firewall settings for your Azure Analysis Services server allow connections from your client's IP address or specific Azure services.
- In the Azure portal, navigate to your AAS server.
- Go to Firewall under Settings.
- Configure allowed IP addresses or enable access for Azure services.
Troubleshooting Common Connection Errors
- Authentication Failed: Double-check your Azure AD credentials and ensure you have the correct permissions.
- Server Not Found: Verify the server name is entered correctly and that the server is running.
- Firewall Blocked: Ensure your IP address is allowed in the AAS firewall settings.