Open shribr opened 5 hours ago
Hi @shribr,
2.62.0 is not the latest Azure CLI(2.65.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
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 @solankisamir, @mikebudzynski, @KedarJoshi, @yingru97.
Describe the bug
The following services do not return a terminating error when attempting to execute any of the below CLI commands. This makes error handling rather cumbersome, and it also makes the behavior inconsistent with all of the other
az create
commands.API Management Service
Document Intelligence
AI Model
Note: In addition to the poor error handling, the documentation is quite sparse when trying to create a new AI model using CLI. The only message I get is "The account deployments are not supported by the current SKU". There is no additional information. It would be extremely helpful if I were told which SKUs WERE supported for the account deployment, so I don't have to guess. Also, what exactly am I supposed to change? Is there a list of supported SKUs or is the issue that my Azure AI service deployment will NEVER be compatible with the SKUs required to deploy the AI model? If it's the latter, then the error details should state this explicitly.
Here are some of the links I've found that dance around the issue but still don't provide a complete picture:
Resolve errors for SKU not available
Problem creating a deployment with GPT4 model. Current subscription does not have feature required by this model
The specified scale type 'Standard' of account deployment is not supported by the model 'gpt-4'.
The workaround is to check the output for the error message, but this is clearly not ideal.
Related command
az cognitiveservices account deployment create
az apim api create
az cognitiveservices account create
Errors
The account deployments are not supported by the current SKU
Issue script & Debug output
The account deployments are not supported by the current SKU
Expected behavior
For the commands to return an actual error message. Since they do not return a terminating error, I can't even debug with
Write-Error
.Environment Summary
azure-cli 2.62.0 *
core 2.62.0 * telemetry 1.1.0
Extensions: application-insights 1.2.2 init 0.1.0 ml 2.30.1 portal 0.1.3
Dependencies: msal 1.28.1 azure-mgmt-resource 23.1.1
Additional context
No response