Microsoft Docs

Data Sources in Azure Analysis Services

Azure Analysis Services enables you to connect to a variety of data sources to build your tabular or multidimensional models. Understanding how to connect to and manage these sources is crucial for effective data modeling.

Supported Data Source Types

Azure Analysis Services supports connections to a wide range of data sources, including:

Connecting to Data Sources

You can connect to data sources using tools like SQL Server Data Tools (SSDT) for Visual Studio or by using tabular model script commands (TMSL).

Using SQL Server Data Tools (SSDT)

  1. Open your Azure Analysis Services project in SSDT.
  2. In the Solution Explorer, right-click on the Data Sources folder and select Add Data Source.
  3. The Table Import Wizard or Data Source Wizard will appear.
  4. Choose your data source type from the list.
  5. Provide the necessary connection details, such as server name, database name, authentication method, and credentials.
  6. Click Test Connection to ensure the details are correct.
  7. Click OK or Next to complete the connection.
Note: For cloud-based data sources like Azure SQL Database or Azure Synapse Analytics, ensure that your Azure Analysis Services firewall rules are configured to allow access, or use VNet service endpoints for enhanced security.

Connection Strings

Connection strings contain all the information needed to establish a connection to a data source. Here's an example of a SQL Server connection string:

Server=myserver.database.windows.net;Database=mydatabase;UID=myuser@myserver;PWD=mypassword;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;

Data Source Management

Once connected, you can manage your data sources within the Azure portal or through scripting:

Best Practices

For detailed information on specific data source types and advanced configuration options, please refer to the official Microsoft documentation.