azure_arc icon indicating copy to clipboard operation
azure_arc copied to clipboard

[Bug / Issue]: Automation Account Failed Error

Open kristopherjturner opened this issue 1 year ago • 3 comments

Jumpstart Solution

  • [ ] Jumpstart ArcBox
  • [x] Jumpstart HCIBox
  • [ ] Jumpstart Agora
  • [ ] A specific Jumpstart scenario
  • [ ] Jumpstart Drops
  • [ ] Something else

What happened?

Deploying the HCI Box and keep getting the following errors:

Maximum number of Accounts reached. If Deleted recently, please restore the same account

{"code":"DeploymentFailed","target":"/subscriptions/be069ae1-fc96-4a07-9f8e-5994d83a137d/resourceGroups/rg-mmsmoa2025-demo-hcibox/providers/Microsoft.Resources/deployments/mgmtArtifactsAndPolicyDeployment","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","target":"/subscriptions/be069ae1-fc96-4a07-9f8e-5994d83a137d/resourceGroups/rg-mmsmoa2025-demo-hcibox/providers/Microsoft.Automation/automationAccounts/HCIBox-Automation-vmr4wgpuhhgzy","message":"Maximum number of Accounts reached. If Deleted recently, please restore the same account"}]}

We need a URL from you

https://jumpstart.azure.com/azure_jumpstart_hcibox

Deployment Method

Bicep

Relevant log output.


Code of Conduct and Licensing

  • [x] I agree to follow this project's Code of Conduct and Licensing terms.

kristopherjturner avatar May 04 '25 14:05 kristopherjturner

There is a recent new maximum number of active Automation accounts in a subscription in a region, more information here. However, Azure Automation will be removed from HCIBox as part of the rebranding to LocalBox which will be released shortly - as it is not being leveraged anymore neither by Azure Local or Jumpstart LocalBox. Until then, you may manually remove the Automation account from mgmtArtifacts.bicep to unblock your deployment.

janegilring avatar May 05 '25 05:05 janegilring

Resolved by https://github.com/microsoft/azure_arc/pull/3203

janegilring avatar May 06 '25 20:05 janegilring

👋 Hello @kristopherjturner,

We've closed this issue because it has been addressed. If you believe further discussion is needed, please add a comment "/unresolve" to reopen the issue.

Thank you for your collaboration!