microsoft-foundry / microsoft-foundry/foundry-samples
Error: Hosted Agents are not enabled in this region when deploying sample
Nobody has claimed this yet.
- Dominant language
- Bicep
- Stars
- 445
- Forks
- 494
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 38
Description
It is failing with following error for all regions: I tried westus, westus-2, eastus and swedencentral. All regions showing the same error:
Deploying services (azd deploy)
(x) Failed: Deploying service CalculatorAgentLG
ERROR: error executing step command 'deploy --all': failed deploying service 'CalculatorAgentLG': failed to create agent version: failed to create agent version. Status code: 400, Response: {
"error": {
"code": "bad_request",
"message": "Hosted Agents are not enabled in this region",
"param": null,
"type": "invalid_request_error",
"details": [],
"additionalInfo": {
"request_id": "9327b6353d323b2b66df3e675a89751e"
}
}
}
Should I be doing any other settings on my subscription to pass this error?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sample deployment with azd deploy and the reported CalculatorAgentLG service in one of the listed regions. Check whether the failure depends on subscription or regional Hosted Agents availability; done means identifying the required setting or supported region and recording the resulting sample or documentation change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100