Problem
In the Customer Chatbot Solution Accelerator (https://github.com/microsoft/customer-chatbot-solution-accelerator/), the @metadata decorators in main.bicep blocks deployment via azd up for users with free Azure subscriptions.
@metadata({
azd:{
type: 'location'
usageName: [
'OpenAI.GlobalStandard.gpt4.1-mini,50'
'OpenAI.GlobalStandard.gpt-realtime-mini,1'
]
}
})
Error
ERROR: prompting for value: getting locations with quota: no location found with enough quota for
OpenAI.GlobalStandard.gpt4.1-mini ( Cap: 50 ) and OpenAI.GlobalStandard.gpt-realtime-mini ( Cap: 1 )
Actual Quota Available (Free Subscription)
[East] US 2 (AI Services)
OpenAI.GlobalStandard.gpt4.1-mini:
Available: 5000
Required: 50
OpenAI.GlobalStandard.gpt-realtime-mini:
Available: 20
Required: 1
OpenAI.GlobalStandard.text-embedding-ada-002:
Available: 1000
Required: 10
All quotas are well within limits for deployment, yet azd blocks it.
Workaround
Commenting out the @metadata block with usageName in main.bicep allows successful deployment:
SUCCESS: Your up workflow to provision and deploy to Azure completed in 4 minutes 44 seconds.
Suggested Fix
- Investigate why azd's quota pre-check reports insufficient quota on free subscriptions when capacity is actually available
- Document this limitation for free subscription users
- Consider making the usageName quota check a warning rather than a blocker in azd
Environment
- Subscription type: Azure Free (Pay-As-You-Go not enabled)
- Subscription ID: 6becd867-e9d1-4ed9-a7a7-5bf1260XXXXX
- Deployment method: azd up
- Regions used: Australia East (main resources), East US 2 (AI services)
Could you please help us understand the significance of the metadata decorator and blocker in free subscription deployment.

Problem
In the Customer Chatbot Solution Accelerator (https://github.com/microsoft/customer-chatbot-solution-accelerator/), the @metadata decorators in main.bicep blocks deployment via azd up for users with free Azure subscriptions.
@metadata({
azd:{
type: 'location'
usageName: [
'OpenAI.GlobalStandard.gpt4.1-mini,50'
'OpenAI.GlobalStandard.gpt-realtime-mini,1'
]
}
})
Error
ERROR: prompting for value: getting locations with quota: no location found with enough quota for
OpenAI.GlobalStandard.gpt4.1-mini ( Cap: 50 ) and OpenAI.GlobalStandard.gpt-realtime-mini ( Cap: 1 )
Actual Quota Available (Free Subscription)
[East] US 2 (AI Services)
OpenAI.GlobalStandard.gpt4.1-mini:
Available: 5000
Required: 50
OpenAI.GlobalStandard.gpt-realtime-mini:
Available: 20
Required: 1
OpenAI.GlobalStandard.text-embedding-ada-002:
Available: 1000
Required: 10
All quotas are well within limits for deployment, yet azd blocks it.
Workaround
Commenting out the @metadata block with usageName in main.bicep allows successful deployment:
SUCCESS: Your up workflow to provision and deploy to Azure completed in 4 minutes 44 seconds.
Suggested Fix
Environment
Could you please help us understand the significance of the metadata decorator and blocker in free subscription deployment.