Alternative method to Add-AzAnalysisServicesAccount for connecting to Azure Analysis Service using MSAL

Rajmohan Ponnurangam 0 Reputation points
2023-07-14T05:20:03.63+00:00

What is an alternative method to Add-AzAnalysisServicesAccount module for connecting to Azure Analysis Service from a PowerShell task using MSAL? We are currently using the Add-AzAnalysisServicesAccount module which internally uses ADAL, however, as ADAL is no longer supported, we want to migrate our process to MSAL. We have tried to find a new version or alternative for Add-AzAnalysisServicesAccount that uses MSAL but have been unsuccessful. We would appreciate any suggestions and guidance on how to achieve this migration to MSAL.

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
438 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,068 questions
{count} votes

1 answer

Sort by: Most helpful
  1. BhargavaGunnam-MSFT 26,221 Reputation points Microsoft Employee
    2023-07-20T18:45:34.1866667+00:00

    Hello Rajmohan Ponnurangam,

    <update>

    Az.AnalysisServices cmdlets call AMO for authentication. As long as you have the latest AMO on where the module is running from, you should use MSAL instead of ADAL.

    You can get the latest AMO here: Analysis Services client libraries | Microsoft Learn

    I hope this helps. Please let me know if you have any further questions.

    If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.

    0 comments No comments