Non-terminating errors returned for Azure service creation #30086
Labels
API Management
az apim
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Cognitive Services
az cognitiveservices
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
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
The text was updated successfully, but these errors were encountered: