question

Gargs-ChesterFLD avatar image
0 Votes"
Gargs-ChesterFLD asked ·

Breaking changes in the cmdlet Add-AzAnalysisServicesAccount

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 'aspaaseastus2.asazure.windows.net' -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
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Gargs-ChesterFLD,

Welcome to Microsoft Q&A forum and thanks for your query.

We are reaching out to internal team regarding the same and will get back to you as soon as we have an update.

Thank you for your patience.

1 Vote 1 ·

Hi @Gargs-ChesterFLD,

Sorry for the delay in response. Just wanted to let you know that I'm still working with internal team regarding this cmdlet issue. I will keep you posted as soon as I have the next update from team.

Apologizes for your experience and thank you for your patience.


0 Votes 0 ·

0 Answers