Skip to main content

I’m using Azure Analysis Services as a SSL 

 

Is it possible to resume and pause using powershell in a job?

Do you have some examples of configuration?

 

Hi @rvgfox ,

You could check the Powershell script that’s provided in this GitHub repository: https://github.com/azureautomation/azure-analysis-services-scale-and-pause-or-resume-using-scheduled-autoscaling/blob/master/README.md

Greets, Rogier


@rogier.helmus Thanks, but it seems “incomplete”


Hi @rvgfox 

These scripts seem to work on my end

Start:

Connect-AzAccount -SubscriptionID "3594c325-91bb-40bb-818f-xyz"
Resume-AzAnalysisServicesServer `
        -Name "chtestssas" `
        -ResourceGroupName "CHauggaard"

Pause:

Connect-AzAccount -SubscriptionID "3594c325-91bb-40bb-818f-xyz"
Suspend-AzAnalysisServicesServer `
        -Name "chtestssas" `
        -ResourceGroupName "CHauggaard" 


@rvgfox did you have a chance to test the above scripts? If so, please help us by marking the best answer above or please let us know if you have follow up questions 


Reply