Please provide us with the following information:
This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
After the latest fixing of issue #10, when I tried to deploy it from the portal, and got a new error:

error text
{"code":"InvalidTemplateDeployment","details":[{"code":"SpecialFeatureOrQuotaIdRequired","message":"The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature."}],"message":"The template deployment 'Microsoft.Template-20240326231843' is not valid according to the validation procedure. The tracking id is '5bcc38e8-2a11-43b7-87e4-40075ed15497'. See inner errors for details."}
The same issue is from Azure CLI, this happened when I chose a location West Europe
az deployment sub create --location westeurope --template-file main.bicep
error
{"code": "InvalidTemplateDeployment", "message": "The template deployment 'main' is not valid according to the validation procedure. The tracking id is 'ee1b972a-1e2f-476a-b24a-0436698c9445'. See inner errors for details."}
Inner Errors:
{"code": "SpecialFeatureOrQuotaIdRequired", "message": "The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature."}
When I the other hand chose the default eastus or Sweden Central, it gives another error
az deployment sub create --location eastus --template-file main.bicep
error
{"code": "InvalidDeploymentLocation", "message": "Invalid deployment location 'swedencentral'. The deployment 'MAIN' already exists in location 'westeurope'."}
Updates
After trying, I clicked on the yellow marked area.

I got a new template that has Deployment Stack details marked in yellow and was able to give it a name and creating it

but when it was deploying it, it come up with new error


Error text details
{
"code": "DeploymentFailed",
"target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/devops-copilot/providers/Microsoft.Resources/deployments/devops-copilot-openai-20240326104012",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "InvalidTemplateDeployment",
"message": "The template deployment 'openaiservice-20240326104012' is not valid according to the validation procedure. The tracking id is 'a16b4f25-c78f-4a90-95d3-7d98c02148c7'. See inner errors for details.",
"details": [
{
"code": "SpecialFeatureOrQuotaIdRequired",
"message": "The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature."
}
]
}
]
}
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.
This issue is for a: (mark with an
x)Minimal steps to reproduce
error text
The same issue is from Azure CLI, this happened when I chose a location West Europe
az deployment sub create --location westeurope --template-file main.biceperror
When I the other hand chose the default eastus or Sweden Central, it gives another error
az deployment sub create --location eastus --template-file main.biceperror
Updates
After trying, I clicked on the yellow marked area.

I got a new template that has Deployment Stack details marked in yellow and was able to give it a name and creating it
but when it was deploying it, it come up with new error

Error text details
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful