Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
worcesterred
Frequent Visitor

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-AzureRmPowerBIEmb...

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 4
Anonymous
Not applicable

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

worcesterred
Frequent Visitor

Making a little progress - new to Azure automation

Need to add AzureRM.PowerBIEmbedded module to the Automation account.

This can be obtained from here: https://www.powershellgallery.com/packages/AzureRM.PowerBIEmbedded/4.1.3

 

I still have an error, 

Suspend-AzureRmPowerBIEmbeddedCapacity : Object reference not set to an instance of an object.

 Anyone had this?

Did you have the solution for this?

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.