Skip to content

Hello World (.NET) local invoke fails on Windows: All Managed Identity sources are unavailable #806

Description

@ChenxiJiang333

Description:
When testing Scenario 4: Hello World (.NET, Invocations), after azd ai agent run successfully started locally, executing the local invocation command azd ai agent invoke --local --protocol invocations '{"message": "Hello from C# local"}' failed. The local log showed the error: All Managed Identity sources are unavailable. See the image below for details.
Image
Image

Steps to Reproduce:

  1. Run azd ai agent init --manifest "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/bring-your-own/responses/notetaking-agent/agent.manifest.yaml".
  2. Run azd up.
  3. Run azd ai agent run.
  4. From a second terminal, run azd ai agent invoke --local --protocol invocations '{"message": "Hello from C# local"}'.

Environment:

Expected Behavior:
Local invoke can succeed.

JeffreyCA and Rick Winter (@RickWinter) for notification.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions