Azure / Azure/azure-quickstart-templates
101-recovery-services-daily-backup-policy-create deploy fails
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[101-recovery-services-daily-backup-policy-create](https://github.com/Azure/azure-quickstart-templates/tree/master/101-recovery-services-daily-backup-policy-create)
### Issue Details
The deploy fails with following error:
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "BadRequest",
"message": "{\r\n \"error\": {\r\n \"code\": \"BMSUserErrorInvalidPolicyInput\",\r\n \"message\": \"Input for create or update policy is not in proper format\\r\\nPlease check format of parameters like schedule time, schedule days, retention time and retention days \",\r\n \"target\": null,\r\n \"details\": null,\r\n \"innerError\": null\r\n }\r\n}"
}
]
}
Screenshot atached with the parameters I'm passing.

Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the 101-recovery-services-daily-backup-policy-create template directory and reproduce the deployment using the parameters shown in the issue. Inspect the backup policy inputs named in the BMSUserErrorInvalidPolicyInput message, especially schedule and retention values; done means the template deploys successfully without the policy-format error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100