Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az desktopvirtualization hostpool show fails with valid host pool names > 24 characters #4379

Closed
dpolivy opened this issue Jan 31, 2022 · 2 comments · Fixed by #4526
Closed
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Desktop Virtualization feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@dpolivy
Copy link

dpolivy commented Jan 31, 2022

  • If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)

desktopvirtualization

Description of issue (in as much detail as possible)

The Azure portal and ARM templates allow creation of host pools that can have names up to 64 characters. However, the az CLI extension for desktop virtualization seems to have a limit of 24. This appears to be a bug that was fixed over a year ago here:

Azure/azure-rest-api-specs#11692

Is there any workaround to get this working via az cli?

Example:

az desktopvirtualization hostpool show --id /subscriptions/<sub id>/resourceGroups/<rg name>/providers/Microsoft.DesktopVirtualization/hostpools/<hostpool name that is more than 24 characters>

Command group 'desktopvirtualization hostpool' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Parameter 'host_pool_name' must have length less than 24.

Versions:

az --version
azure-cli                         2.32.0

core                              2.32.0
telemetry                          1.0.6

Extensions:
azure-devops                      0.22.0
desktopvirtualization               0.1.1

Dependencies:
msal                              1.16.0
azure-mgmt-resource               20.0.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\dan\.azure\cliextensions'

Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr  6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.
@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Jan 31, 2022
@yonzhan yonzhan added the Service Attention This issue is responsible by Azure service team. label Feb 1, 2022
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Feb 1, 2022
@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Feb 1, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 1, 2022

route to service team

@wangzelin007 wangzelin007 removed the Service Attention This issue is responsible by Azure service team. label Mar 28, 2022
@ghost ghost added the needs-team-triage This issue needs the team to triage. label Mar 28, 2022
@wangzelin007 wangzelin007 self-assigned this Mar 28, 2022
@wangzelin007 wangzelin007 linked a pull request Mar 28, 2022 that will close this issue
3 tasks
@wangzelin007 wangzelin007 added this to the Mar 2022 (2022-04-06) milestone Mar 28, 2022
@wangzelin007 wangzelin007 added Desktop Virtualization and removed needs-team-triage This issue needs the team to triage. labels Mar 28, 2022
@wangzelin007
Copy link
Member

Hi dpolivy,
We are going to release a new version of desktopvirtualization at 2022/04/06.
It will use the latest stable version (2021-07-12) of desktopvirtualization sdk.

@yonzhan yonzhan added the feature-request This issue requires a new behavior in the product in order be resolved. label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Desktop Virtualization feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants