Deploy Azure Analysis services with Azure db connection in Yaml Pipeline

Shainan Hemrajani 1 Reputation point
2021-09-10T09:41:00.727+00:00

Hi,
I am creating YAML pipelines for Automating Deployment. I am deploying AAS using Powershell and need to figure out ways of configuring azure database connections.
I do not have username/password set up for db, it is accessed by AAD. I would like to configure connection without using usernames, may be some Identity or Service Principal option.

Azure SQL Database
Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
479 questions
Windows for business Windows Server User experience PowerShell
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 39,916 Reputation points
    2021-09-15T17:02:44.923+00:00

    Hello @Shainan Hemrajani

    AAS will not let you connect to a DB without user/password settings.

    Regarding the setup you can see more information here:
    https://azure.microsoft.com/es-es/blog/using-azure-analysis-services-over-azure-sql-db-and-dw/

    and how to create the first data model in AAS:
    https://azure.microsoft.com/es-mx/blog/first-azure-as/

    Hope this information helps with what you want to achieve,
    Best regards,

    0 comments No comments

  2. Oury Ba-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2021-09-19T03:32:22.987+00:00

  3. Shainan Hemrajani 1 Reputation point
    2021-09-30T08:48:53.967+00:00

    Hi,
    I have cracked it.
    I am updating just sql servername and Path in model.bim file while deploying through Yaml pipeline.

    And I create a token and add in the credential part before refreshing the cube.
    The tokens are created by Automation account that has an identity attached to AAS.

    Thanks you all for responses.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.