Forum Discussion

worcesterred's avatar
worcesterred
Frequent Visitor
8 years ago

Azure automation - cmdlet: Suspend-AzureRmPowerBIEmbeddedCapacity

Hi all,

Trying to automate the pause/resume process in Azure using Automation accounts and Runbooks.

I thought I'd found a neat solution with a cmdlet Suspend-AzureRmPowerBIEmbeddedCapacity

https://docs.microsoft.com/en-us/powershell/module/azurerm.powerbiembedded/Suspend-AzureRmPowerBIEmbeddedCapacity?view=azurermps-5.6.0

However, it doesnt seem compatible with Azure runbooks:

 

Suspend-AzureRmPowerBIEmbeddedCapacity : The term 'Suspend-AzureRmPowerBIEmbeddedCapacity' is not recognized as the 
name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was 
included, verify that the path is correct and try again.

 

 

Anyone have success with this or using a powershell script? 

4 Replies

    • worcesterred's avatar
      worcesterred
      Frequent Visitor

      Hi

       

      Has anyone successfully suspend the service programatically?

      Ive changed tact and trying a local POST to the Azure service, but running into 403 errors

  • Anonymous's avatar
    Anonymous
    Not applicable

    Checkout the Modules section of your Automation Account and make sure that AzureRM.PowerBIEmbedded is present