Issue: Deployment Failed When Creating an Automation Account on Azure (400 Bad Request)

lucab 0 Reputation points
2024-07-01T09:13:40.0366667+00:00

Hi,

When attempting to create an automation account on Azure, either via Terraform (API) or through the Azure dashboard, I got the following error message:

Your deployment failed
unexpected status 400 (400 Bad Request) with response: {"code":"BadRequest","message":"Maximum number of Accounts reached. If Deleted recently, please restore the same account"}

We only have 3 automation accounts on this subscription in the same region. It seem to be working fine if I create the account in another region.
What could be causing this?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,000 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,255 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.