Skip to content

Resource group name fails common-types pattern when creating resources #14208

Closed

Description

Creating a Microsoft.Bing resource fails for existing resource groups with special characters in the name, such as Japanese 西日本, due to pattern validation on the resource group name.

{"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":"Pattern","message":"String does not match pattern ^[-\\w\\._\\(\\)]+$: 西日本. Paths in payload: '.path.resourceGroupName'"}]}

It is using the common ResourceGroupNameParameter which has that pattern:

Note that this is the same problematic regex as in #13136 but in a different file.

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

Metadata

Assignees

No one assigned

    Labels

    ARM - CoreService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions