[Microsoft.Automation/automationAccounts/jobSchedules]: Poor error message if resource name incorrectly formatted
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
**Bicep version**
Bicep CLI version 0.3.255
**Describe the bug**
I'm trying to create an automation account + runbook + schedules + link runbook and schedules. Every thing goes well but when I add automationAccounts/jobSchedules resource, I get a 404 error:

Here is the bicep file, that works perfect except when I add the jobSchedules resource:
https://raw.githubusercontent.com/joanteixi/az-bicep/master/start-stop-vm/automation.bicep
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked automation.bicep file and the Microsoft.Automation/automationAccounts/jobSchedules resource, then reproduce the deployment to inspect the 404. Review how this resource name is validated or reported in the type definitions. Done means an incorrectly formatted resource name produces a useful error instead of an opaque 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100