microsoft-foundry / microsoft-foundry/foundry-samples

Remote invocations return no data when running `azd ai agent invoke`

Open
#738 10 comments 0 reactions 9 assignees View on GitHub

@brandom-msft is already working on this.

Since Aug 13, 2026.

bug
Dominant language
Bicep
Stars
445
Forks
494
Avg merge
11h 35m
Merged PRs (30d)
38

Description

Description:
When testing Scenario 3: LangGraph Toolbox (Responses), remote invocations do not return response data when running azd ai agent invoke --protocol invocations '{"input": "What can you help me with?"}' or azd ai agent invoke --protocol invocations '{"input": "Give me a short code example."}'. The command starts successfully and prints the invocation metadata (agent, session, conversation, and trace ID), but no actual response is returned.
Image

Running azd ai agent monitor --tail 20 shows that the request is received and processed by the service, and the logs contain backend errors such as openai.NotFoundError / DeploymentNotFound.
Image

Steps to Reproduce:

  1. mkdir github-copilot-invocations and cd github-copilot-invocations
  2. Run azd ai agent init --manifest "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/bring-your-own/invocations/github-copilot/agent.manifest.yaml" and select location northcentralus.
  3. Run azd up.
  4. Run azd ai agent invoke --protocol invocations '{"input": "What can you help me with?"}' or azd ai agent invoke --protocol invocations '{"input": "Give me a short code example."}'.
  5. Run azd ai agent monitor --tail 20.

Environment:

Expected Behavior:
Remote invoke should succeed.

@JeffreyCA and @RickWinter for notification.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.