BMSUserErrorInvalidInput in az dataprotection backup-instance adhoc-backup for Kubernetes Service #7628
Labels
Auto-Assign
Auto assign by bot
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Data Protection
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I am using Azure Kubernetes Service and Azure Backup Vault to generate regular backups of my cluster.
I am now trying to script the creation of an On-demand backup using Azure CLI. However, after thoroughly validating all inputs, I keep getting a BMSUserErrorInvalidInput. Using Az-PowerShell and the REST API led to similar results, even when it works correctly whenever I trigger it from the portal.
Related command
az dataprotection backup-instance adhoc-backup --rule-name "Default" -n $BACKUP_INSTANCE_NAME -g $RESOURCE_GROUP_NAME --subscription $SUBSCRIPTION_ID -v $BACKUP_VAULT_NAME
Errors
Issue script & Debug output
(Tomorrow I will update with the debug logs because I'm now getting this error
The operation is blocked, as a security precaution, since multiple attempts were made beyond an internal limit.
)Expected behavior
Successfully triggers and creates an Azure Kubernetes Service backup, which works fine when triggered from the portal.
Environment Summary
Additional context
The text was updated successfully, but these errors were encountered: