Skip to content

az apim backup Invalid parameter: The specifed resource name contains invalid characters. Parameter name: backupContainerName #16262

Description

Describe the bug

We have been using az apim backup for a long time but suddenly we started to get this error. The error message does not make any sense, there is no parameter called backupContainerName, I have checked this GitHub repo and couldn't find anything either. We first saw this in Azure DevOps agent and then I tried to run this command in my local machine, but the same error exists.

We have an automation to run this script every day but since December 08, we are getting this error. I attached an image to show it was running successfully for a long time.

image

Command Name
az apim backup

Errors:

InvalidParameters: Invalid parameter: The specifed resource name contains invalid characters.

Parameter name: backupContainerName

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az apim backup --backup-name {} -n {} -g {} --storage-account-container {} --storage-account-key {} --storage-account-name {} --subscription {}

Expected Behavior

az apim backup runs successfully as it used to be.

Environment Summary

Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.16.0

Extensions:
azure-devops 0.17.0
blueprint 0.1.1

Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions