microsoft-foundry / microsoft-foundry/foundry-samples

Error: Hosted Agents are not enabled in this region when deploying sample

Open
#418 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.