Manage Models in Azure Analysis Services

This document provides a comprehensive guide to managing models within Azure Analysis Services. Learn how to create, deploy, connect to, and secure your tabular and multidimensional models.

Introduction to Model Management

Azure Analysis Services (AAS) is a fully managed Platform as a Service (PaaS) that provides enterprise-grade data modeling capabilities. Managing your models effectively is crucial for performance, security, and usability. This section covers the fundamental concepts and best practices for model management.

Creating and Developing Models

You can create models using various tools, primarily:

When developing models, consider the following:

Deploying Models

Once your model is developed, you can deploy it to your Azure Analysis Services server. This process typically involves:

  1. Building the model project in SSDT.
  2. Deploying the generated model files (e.g., .bim for tabular) to your AAS instance.

Deployment can be automated using CI/CD pipelines for greater efficiency and reliability.

# Example deployment command using Azure CLI
az aas models deploy --server <your-server-name> --resource-group <your-resource-group> --project <path-to-model-project>

Connecting to Models

Business intelligence tools and applications connect to Azure Analysis Services models to query data. Common connection methods include:

The connection string typically includes the server name, database name, and authentication method.

Note: Always use Azure Active Directory (Azure AD) authentication for secure access to your AAS models.

Managing Permissions

Controlling access to your models and data is critical. Azure Analysis Services supports role-based access control:

Permissions can be managed through the Azure portal or programmatically using TOM (Tabular Object Model) or AMO (Analysis Management Objects).

Backups and Restores

Regular backups are essential for disaster recovery and data protection. Azure Analysis Services offers automatic backup functionality.

Restoring a database from a backup can be done via the Azure portal, PowerShell, or REST API.

Tip: Store your backups in a different Azure region than your AAS server for enhanced disaster recovery capabilities.

For more advanced scenarios, refer to the specific documentation for Azure Analysis Services development and administration.