Forum Discussion
RJ_Bradach
Feb 02, 2023Copper Contributor
Invalid VM resource name when adding resource to AZDO environment (RHEL 9)
While trying to add a linux VM resource to an Azure Devops pipeline environment, we receive this error. [2023-02-01 23:02:42Z ERR Terminal] Microsoft.VisualStudio.Services.WebApi.VssServiceRespon...
rasad4468
Feb 02, 2023Copper Contributor
When encountering the "Invalid VM resource name" error message when adding a resource in Azure DevOps (AZDO) for a Red Hat Enterprise Linux 9 (RHEL 9) environment, it's possible that the name of the resource you're trying to add contains invalid characters or is too long. In Azure DevOps, VM resource names must meet the following criteria: The name must start with a letter. The name can contain only letters, numbers, and the hyphen (-) character. The name must contain between 3 and 23 characters. If your resource name doesn't meet these criteria, you'll need to change it to a valid name before you can add it to your AZDO environment.