Skip to main content
Solved

Pause & Resume Azure Analysis Services in a job

  • September 1, 2023
  • 4 replies
  • 120 views

rvgfox
Problem Solver
Forum|alt.badge.img+4

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?

 

Best answer by Christian Hauggaard

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" 

View original

rogier.helmus
Problem Solver
Forum|alt.badge.img+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


rvgfox
Problem Solver
Forum|alt.badge.img+4
  • Problem Solver
  • September 4, 2023

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


Christian Hauggaard
Community Manager
Forum|alt.badge.img+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" 


Christian Hauggaard
Community Manager
Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings