Breaking changes in the cmdlet Add-AzAnalysisServicesAccount

AzureLearnChstr 26 Reputation points

I have an Azure Automation Account Powershell Runbook to start or pause an Azure Analysis on a schedule (for example pause from 12:00 AM to 7:00 AM).

I use the following commands for getting Creds and Rollout env:
$ApplicationCredential = Get-Credential
Add-AzAnalysisServicesAccount -RolloutEnvironment '' -ServicePrincipal -Credential $ApplicationCredential -TenantId "xxxx-xxxx-xxxx-xxxx"

Recently I have been getting the following error when the runbook is executed: Breaking changes in the cmdlet Add-AzAnalysisServicesAccount- The cmdlet is being deprecated. There will be no replacement for it. Note :The change is expected to take effect from the version : '2.0.0'

I have not been able to find an alternative command to do the same function so that my Runbook can continue working to authenticate to the Analysys service and Pause or Resume it as needed. Please help.

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
408 questions
{count} vote