-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Azure/azure-cli-extensions
#4526Labels
APEXAPEX onboardingAPEX onboardingDesktop Virtualizationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Milestone
Description
If a host pool name exceeds 24 characters I will not be able to use it in any command that specifies this name. This was working in the previous version of the CLI, at minimum the one available a month ago.
To Reproduce
- create a host pool with a name longer than 24 characters using the Portal or Azure Powershell (obviously not cli at this point)
- try to perform any operation in that hostPool from az cli, such as:
az DesktopVirtualization hostPool show -g $resourceGroupName -n $over24CharactersHostPoolName - you will receive the ERROR: Parameter 'host_pool_name' must have length less than 24
Expected behavior
when using Portal, ARM, azure PowerShell you can create a host Pool with a name as long as 64 characters long, I would expect consistency. I have host Pools that are 27 characters long. Here you can see the maximum length for the name in the portal:

Environment summary
PS C:> az -v
azure-cli 2.27.1
core 2.27.1
telemetry 1.0.6
Extensions:
desktopvirtualization 0.1.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APEXAPEX onboardingAPEX onboardingDesktop Virtualizationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.

