I am running a az cli command from Azure cloudshell (Powershell or Bash) from my personal Azure tenant and it's working perfectly.
When i want to do the same command from our organization Tenant, i receive an error
I want to show a private endpoint on a Keyvault... the commande line is :
$vaultendpoint = az keyvault private-endpoint-connection show --vault-name myvaultname --name myendpointresource-conn | ConvertFrom-Json
From our organization tenant, here is the error:
ERROR: incorrect usage: [--id ID | --name NAME --vault-name NAME | --name NAME --hsm-name NAME]
What could cause this kind of issue ?