Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Auzre Automation Runbook and Capacity Management

We would like to manage our Workspace Premium Capacity using powershell runbook automation. AzureRm.PowerBIEmbedded module does not have any command to remove a workspace from a premium capacity ?

 

 

3 Replies

  • v-yuta-msft's avatar
    v-yuta-msft
    Icon for Community Support rankCommunity Support

    Hi cbaski ,

     

    Try this command "Remove-AzureRmPowerBIEmbeddedCapacity":

     

    PS C:\> Remove-AzureRmPowerBIEmbeddedCapacity -Name "testcapacity" -ResourceGroupName "testRG"
    Type                   : Microsoft.PowerBIDedicated/capacities
    Id                     : /subscriptions/78e47976-.../resourceGroups/testRG/providers/Microsoft.PowerBIDedicated/capacities/testcapacity
    ResourceGroup          : testRG
    Name                   : testcapacity
    Location               : West Central US
    State                  : Succeeded
    Administrator          : {[email protected]}
    Sku                    : A1
    Tier                   : PBIE_Azure
    Tag                    : {}

    Regards,

    Jimmy Tao 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Jimmy,

                   Thank you , I'm not trying to remove the capacity , I want to turn off the dedicated capacity for a given workspace, so that I can suspend the capacity and continue to use the workspace during non peek hours.  

       

      Note: If you suspend the capacity , all the workspace run on that workspace is not accessible as well.

      • Anonymous's avatar
        Anonymous
        Not applicable

        fellow forum members and experts, Any update or ideas ?