Solved

Pause & Resume Azure Analysis Services in a job

  • 1 September 2023
  • 4 replies
  • 76 views

Userlevel 3
Badge +1

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?

 

icon

Best answer by Christian Hauggaard 6 September 2023, 15:57

View original

4 replies

Badge +1

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

Userlevel 3
Badge +1

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

Userlevel 6
Badge +5

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" 

Userlevel 6
Badge +5

@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