Open TheOnlyWei opened 10 months ago
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @RandalliLama, @schaabs, @jlichwa.
Invalid API version for azure stack env:
https://management.redmond.ext-rq0401.masd.stbtest.microsoft.com/subscriptions/1ae2874c-1e60-41c0-a4a1-91e62edf150d/
providers/Microsoft.KeyVault/deletedVaults?api-version=2016-10-01
Need keyvault service to check
@evelyn-ys I just realized that soft-delete is not supported on Azure Stack Hub (ASH), so just need to update the API profile Microsoft documentations if the older API profiles are used only by ASH customers: https://learn.microsoft.com/en-us/cli/azure/keyvault?view=azure-cli-2020-09-01-hybrid#az-keyvault-show-deleted Do you know if these older API profiles are only used by ASH customers? If not, and these API profiles are used by non-ASH customers, then you can close this issue.
Hi @evelyn-ys, I'm the PM who works with Wei on developer experience issues with Azure Stack. Just following up on this. :)
I'll contact service team and check if CLI needs to hide this command on azure stack
Thanks, @evelyn-ys! Please keep us updated.
Hi, @evelyn-ys, have you heard back from the CLI team?
Hi @evelyn-ys, just following up. :)
@domggarrity Thanks for tracking. I have talked with keyvault service team and confirmed show-deleted
could be hidden in AzureStack. But I want to get a full list of all commands that need to be hidden, not only show-deleted
. The discussion is still going on.
Does this block any of your scenario if we don't hide this command ASAP?
@evelyn-ys, thanks for the update! It's good to hear that we're getting the full list of commands that need to be hidden. This doesn't block any scenario at the moment, so it's not extremely urgent, but the incorrect docs may result in more issues like this one over time.
Hi @evelyn-ys, just following up on this. Do we have any updates?
busy on security wave work, this has been deprioritized
Describe the bug
UPDATE: It seems soft-delete is not supported in Azure Stack Hub, so the Microsoft Docs need to be updated.
Microsoft Docs indicate that this command is supported on all API profiles: https://learn.microsoft.com/en-us/cli/azure/keyvault?view=azure-cli-2020-09-01-hybrid#az-keyvault-show-deleted
Old post:
On Azure Stack Hub using the nightly build Azure CLI version
2.55.0
with the2020-09-01-hybrid
API profile, when I run the command:I get the error:
Related command
az keyvault show-deleted
Errors
Issue script & Debug output
Expected behavior
Should not throw an error.
Environment Summary
Additional context
No response