Skip to content

502 Bad Gateway when Replying to A365 Activities Using the Sample Project #77

@fanzeyi

Description

@fanzeyi

Hi, I am testing the Python sample project in https://github.com/microsoft/Agent365-Samples/tree/main/python/agent-framework/sample-agent with a testing Azure account with A365 enabled, but it runs into issues when trying to generate a reply.

Error Message:

ERROR:host_agent_server:❌ Error: 502, message='Bad Gateway', url='https://smba.trafficmanager.net/amer/f6158b50-3c1f-4d22-93b4-b38cd9f4289c/v3/conversations/x5Nj0gAAAKLwNZMBpWVtYWls2ZhBQU1rQUdGbU1EWTROamczTFRVd1pqTXROR013TWkwNU9ERXlMV1JsWVRFd1ptVTVOMlF5TndCR0FBAgDwH0JBQjZKellTOXFTWUN0bExRcDAxUDFCd0RPcFJSLX/activities/AAMkAGFmMDY4Njg3LTUwZjMtNGMwMi05ODEyLWRlYTEwZmU5N2QyNwBGAAAAAABAB6JzYS9qSYCtlLQp01P1BwDOpRR-vAClSqv215qqRzxqAAAAAAEMAADOpRR-vAClSqv215qqRzxqAAAOPZYwAAA='
Full Stack Trace
Replying to activity: AAMkAGFmMDY4Njg3LTUwZjMtNGMwMi05ODEyLWRlYTEwZmU5N2QyNwBGAAAAAABAB6JzYS9qSYCtlLQp01P1BwDOpRR-vAClSqv215qqRzxqAAAAAAEMAADOpRR-vAClSqv215qqRzxqAAAOPZYwAAA= in conversation: x5Nj0gAAAKLwNZMBpWVtYWls2ZhBQU1rQUdGbU1EWTROamczTFRVd1pqTXROR013TWkwNU9ERXlMV1JsWVRFd1ptVTVOMlF5TndCR0FBAgDwH0JBQjZKellTOXFTWUN0bExRcDAxUDFCd0RPcFJSLX. Activity type is message
INFO:microsoft_agents.hosting.core.connector.client.connector_client:Replying to activity: AAMkAGFmMDY4Njg3LTUwZjMtNGMwMi05ODEyLWRlYTEwZmU5N2QyNwBGAAAAAABAB6JzYS9qSYCtlLQp01P1BwDOpRR-vAClSqv215qqRzxqAAAAAAEMAADOpRR-vAClSqv215qqRzxqAAAOPZYwAAA= in conversation: x5Nj0gAAAKLwNZMBpWVtYWls2ZhBQU1rQUdGbU1EWTROamczTFRVd1pqTXROR013TWkwNU9ERXlMV1JsWVRFd1ptVTVOMlF5TndCR0FBAgDwH0JBQjZKellTOXFTWUN0bExRcDAxUDFCd0RPcFJSLX. Activity type is message
Error replying to activity: 502
Stack (most recent call last):
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/start_with_generic_host.py", line 41, in <module>
    exit(main())
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/start_with_generic_host.py", line 28, in main
    create_and_run_host(AgentFrameworkAgent)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 76, in create_and_run_host
    host.start_server(auth_config)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 321, in start_server
    run_app(app, host="localhost", port=port, handle_signals=True)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web.py", line 510, in run_app
    loop.run_until_complete(main_task)
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 651, in run_until_complete
    self.run_forever()
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 618, in run_forever
    self._run_once()
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 1951, in _run_once
    handle._run()
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request
    resp = await request_handler(request)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web_app.py", line 569, in _handle
    return await handler(request)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 288, in anonymous_claims
    return await handler(request)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 260, in entry_point
    return await start_agent_process(
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/.venv/lib/python3.12/site-packages/microsoft_agents/hosting/aiohttp/_start_agent_process.py", line 23, in start_agent_process
    return await adapter.process(
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/.venv/lib/python3.12/site-packages/microsoft_agents/hosting/aiohttp/cloud_adapter.py", line 101, in process
    invoke_response = await self.process_activity(
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/channel_service_adapter.py", line 419, in process_activity
    await self.run_pipeline(context, callback)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/channel_adapter.py", line 242, in run_pipeline
    return await self.middleware_set.receive_activity_with_status(
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/middleware_set.py", line 56, in receive_activity_with_status
    return await self.receive_activity_internal(context, callback)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/middleware_set.py", line 66, in receive_activity_internal
    return await callback(context)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 679, in on_turn
    await self._start_long_running_call(context, self._on_turn)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 865, in _start_long_running_call
    return await func(context)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 722, in _on_turn
    await self._on_activity(context, turn_state)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 842, in _on_activity
    await route.handler(context, state)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 178, in on_message
    await context.send_activity(response)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 210, in send_activity
    result = await self.send_activities([activity_or_text])
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 263, in send_activities
    return await self._emit(self._on_send_activities, output, logic())
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 341, in _emit
    return await logic
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 258, in logic
    responses = await self.adapter.send_activities(self, output)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/channel_service_adapter.py", line 103, in send_activities
    response = await connector_client.conversations.reply_to_activity(
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/connector/client/connector_client.py", line 216, in reply_to_activity
    logger.error(
ERROR:microsoft_agents.hosting.core.connector.client.connector_client:Error replying to activity: 502
Stack (most recent call last):
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/start_with_generic_host.py", line 41, in <module>
    exit(main())
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/start_with_generic_host.py", line 28, in main
    create_and_run_host(AgentFrameworkAgent)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 76, in create_and_run_host
    host.start_server(auth_config)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 321, in start_server
    run_app(app, host="localhost", port=port, handle_signals=True)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web.py", line 510, in run_app
    loop.run_until_complete(main_task)
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 651, in run_until_complete
    self.run_forever()
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 618, in run_forever
    self._run_once()
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/base_events.py", line 1951, in _run_once
    handle._run()
  File "/Users/zeyi.f/.local/share/uv/python/cpython-3.12.0-macos-aarch64-none/lib/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request
    resp = await request_handler(request)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web_app.py", line 569, in _handle
    return await handler(request)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 288, in anonymous_claims
    return await handler(request)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 260, in entry_point
    return await start_agent_process(
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/.venv/lib/python3.12/site-packages/microsoft_agents/hosting/aiohttp/_start_agent_process.py", line 23, in start_agent_process
    return await adapter.process(
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/.venv/lib/python3.12/site-packages/microsoft_agents/hosting/aiohttp/cloud_adapter.py", line 101, in process
    invoke_response = await self.process_activity(
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/channel_service_adapter.py", line 419, in process_activity
    await self.run_pipeline(context, callback)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/channel_adapter.py", line 242, in run_pipeline
    return await self.middleware_set.receive_activity_with_status(
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/middleware_set.py", line 56, in receive_activity_with_status
    return await self.receive_activity_internal(context, callback)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/middleware_set.py", line 66, in receive_activity_internal
    return await callback(context)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 679, in on_turn
    await self._start_long_running_call(context, self._on_turn)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 865, in _start_long_running_call
    return await func(context)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 722, in _on_turn
    await self._on_activity(context, turn_state)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/app/agent_application.py", line 842, in _on_activity
    await route.handler(context, state)
  File "/Users/zeyi.f/AgentsToolkitProjects/Agent365-Samples/python/agent-framework/sample-agent/host_agent_server.py", line 178, in on_message
    await context.send_activity(response)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 210, in send_activity
    result = await self.send_activities([activity_or_text])
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 263, in send_activities
    return await self._emit(self._on_send_activities, output, logic())
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 341, in _emit
    return await logic
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/turn_context.py", line 258, in logic
    responses = await self.adapter.send_activities(self, output)
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/channel_service_adapter.py", line 103, in send_activities
    response = await connector_client.conversations.reply_to_activity(
  File "/Users/zeyi.f/.cache/uv/archive-v0/qlFyE0rMtgmOM-gDkYB9l/lib/python3.12/site-packages/microsoft_agents/hosting/core/connector/client/connector_client.py", line 216, in reply_to_activity
    logger.error(
ERROR:host_agent_server:❌ Error: 502, message='Bad Gateway', url='https://smba.trafficmanager.net/amer/f6158b50-3c1f-4d22-93b4-b38cd9f4289c/v3/conversations/x5Nj0gAAAKLwNZMBpWVtYWls2ZhBQU1rQUdGbU1EWTROamczTFRVd1pqTXROR013TWkwNU9ERXlMV1JsWVRFd1ptVTVOMlF5TndCR0FBAgDwH0JBQjZKellTOXFTWUN0bExRcDAxUDFCd0RPcFJSLX/activities/AAMkAGFmMDY4Njg3LTUwZjMtNGMwMi05ODEyLWRlYTEwZmU5N2QyNwBGAAAAAABAB6JzYS9qSYCtlLQp01P1BwDOpRR-vAClSqv215qqRzxqAAAAAAEMAADOpRR-vAClSqv215qqRzxqAAAOPZYwAAA='

Setup

I made some changes to the sample project attempting to get it working. Here are all the changes:

I can see in the logs that the agent was able to acquire all necessary scopes it needed but McpToolRegistrationService (I'm guessing we probably don't have access to that).

So I have this modification in agent.py

-            self.tool_service = McpToolRegistrationService()
+            self.tool_service = None

I have also disabled TypingIndicator in host_agent_server.py as it is a bit noisy and suffers from the same error:

+       self.agent_app.options.start_typing_timer = False
        self.agent_notification = AgentNotification(self.agent_app)
        self._setup_handlers()

For ChatClient, I replaced AzureOpenAIChatClient with a dummy ChatClient:

class CustomChatClient:
    @property
    def additional_properties(self) -> dict[str, any]:
        return {}

    async def get_response(self, messages, **kwargs):
        return ChatResponse(
            messages=[ChatMessage(role="assistant", text="this is a generic response")],
            response_id="custom",
        )

    def get_streaming_response(self, messages, **kwargs):
        async def _stream():
            from agent_framework import ChatResponseUpdate

            yield ChatResponseUpdate()

        return _stream()

In .env.sample there isn't a CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTID but it seems to be required. I set it to our client ID.

I am testing by sending the Agent user in my directory an email from Outlook. I am able to see my service receiving this event and mostly processed correctly by the agent in the sample project.

The above error happens when it attempts to send back a response.

Environment

uv tree --prerelease=allow
sample-agentframework-agent v0.1.0
├── agent-framework-azure-ai v1.0.0b251120
│   ├── agent-framework-core v1.0.0b251120
│   │   ├── azure-identity v1.26.0b1
│   │   │   ├── azure-core v1.36.0
│   │   │   │   ├── requests v2.32.5
│   │   │   │   │   ├── certifi v2025.11.12
│   │   │   │   │   ├── charset-normalizer v3.4.4
│   │   │   │   │   ├── idna v3.11
│   │   │   │   │   └── urllib3 v2.5.0
│   │   │   │   └── typing-extensions v4.15.0
│   │   │   ├── cryptography v46.0.3
│   │   │   │   └── cffi v2.0.0
│   │   │   │       └── pycparser v2.23
│   │   │   ├── msal v1.34.0
│   │   │   │   ├── cryptography v46.0.3 (*)
│   │   │   │   ├── pyjwt[crypto] v2.10.1
│   │   │   │   │   └── cryptography v46.0.3 (extra: crypto) (*)
│   │   │   │   └── requests v2.32.5 (*)
│   │   │   ├── msal-extensions v1.3.1
│   │   │   │   └── msal v1.34.0 (*)
│   │   │   └── typing-extensions v4.15.0
│   │   ├── mcp[ws] v1.22.0
│   │   │   ├── anyio v4.12.0
│   │   │   │   └── idna v3.11
│   │   │   ├── httpx v0.28.1
│   │   │   │   ├── anyio v4.12.0 (*)
│   │   │   │   ├── certifi v2025.11.12
│   │   │   │   ├── httpcore v1.0.9
│   │   │   │   │   ├── certifi v2025.11.12
│   │   │   │   │   └── h11 v0.16.0
│   │   │   │   └── idna v3.11
│   │   │   ├── httpx-sse v0.4.3
│   │   │   ├── jsonschema v4.25.1
│   │   │   │   ├── attrs v25.4.0
│   │   │   │   ├── jsonschema-specifications v2025.9.1
│   │   │   │   │   └── referencing v0.37.0
│   │   │   │   │       ├── attrs v25.4.0
│   │   │   │   │       └── rpds-py v0.30.0
│   │   │   │   ├── referencing v0.37.0 (*)
│   │   │   │   └── rpds-py v0.30.0
│   │   │   ├── pydantic v2.12.5
│   │   │   │   ├── annotated-types v0.7.0
│   │   │   │   ├── pydantic-core v2.41.5
│   │   │   │   │   └── typing-extensions v4.15.0
│   │   │   │   ├── typing-extensions v4.15.0
│   │   │   │   └── typing-inspection v0.4.2
│   │   │   │       └── typing-extensions v4.15.0
│   │   │   ├── pydantic-settings v2.12.0
│   │   │   │   ├── pydantic v2.12.5 (*)
│   │   │   │   ├── python-dotenv v1.2.1
│   │   │   │   └── typing-inspection v0.4.2 (*)
│   │   │   ├── pyjwt[crypto] v2.10.1 (*)
│   │   │   ├── python-multipart v0.0.20
│   │   │   ├── sse-starlette v3.0.3
│   │   │   │   └── anyio v4.12.0 (*)
│   │   │   ├── starlette v0.50.0
│   │   │   │   └── anyio v4.12.0 (*)
│   │   │   ├── typing-extensions v4.15.0
│   │   │   ├── typing-inspection v0.4.2 (*)
│   │   │   ├── uvicorn v0.38.0
│   │   │   │   ├── click v8.3.1
│   │   │   │   ├── h11 v0.16.0
│   │   │   │   ├── httptools v0.7.1 (extra: standard)
│   │   │   │   ├── python-dotenv v1.2.1 (extra: standard)
│   │   │   │   ├── pyyaml v6.0.3 (extra: standard)
│   │   │   │   ├── uvloop v0.22.1 (extra: standard)
│   │   │   │   ├── watchfiles v1.1.1 (extra: standard)
│   │   │   │   │   └── anyio v4.12.0 (*)
│   │   │   │   └── websockets v15.0.1 (extra: standard)
│   │   │   └── websockets v15.0.1 (extra: ws)
│   │   ├── openai v2.8.1
│   │   │   ├── anyio v4.12.0 (*)
│   │   │   ├── distro v1.9.0
│   │   │   ├── httpx v0.28.1 (*)
│   │   │   ├── jiter v0.12.0
│   │   │   ├── pydantic v2.12.5 (*)
│   │   │   ├── sniffio v1.3.1
│   │   │   ├── tqdm v4.67.1
│   │   │   └── typing-extensions v4.15.0
│   │   ├── opentelemetry-api v1.38.0
│   │   │   ├── importlib-metadata v8.7.0
│   │   │   │   └── zipp v3.23.0
│   │   │   └── typing-extensions v4.15.0
│   │   ├── opentelemetry-exporter-otlp-proto-grpc v1.38.0
│   │   │   ├── googleapis-common-protos v1.72.0
│   │   │   │   └── protobuf v6.33.1
│   │   │   ├── grpcio v1.76.0
│   │   │   │   └── typing-extensions v4.15.0
│   │   │   ├── opentelemetry-api v1.38.0 (*)
│   │   │   ├── opentelemetry-exporter-otlp-proto-common v1.38.0
│   │   │   │   └── opentelemetry-proto v1.38.0
│   │   │   │       └── protobuf v6.33.1
│   │   │   ├── opentelemetry-proto v1.38.0 (*)
│   │   │   ├── opentelemetry-sdk v1.38.0
│   │   │   │   ├── opentelemetry-api v1.38.0 (*)
│   │   │   │   ├── opentelemetry-semantic-conventions v0.59b0
│   │   │   │   │   ├── opentelemetry-api v1.38.0 (*)
│   │   │   │   │   └── typing-extensions v4.15.0
│   │   │   │   └── typing-extensions v4.15.0
│   │   │   └── typing-extensions v4.15.0
│   │   ├── opentelemetry-sdk v1.38.0 (*)
│   │   ├── opentelemetry-semantic-conventions-ai v0.4.13
│   │   ├── packaging v25.0
│   │   ├── pydantic v2.12.5 (*)
│   │   ├── pydantic-settings v2.12.0 (*)
│   │   └── typing-extensions v4.15.0
│   ├── aiohttp v3.13.2
│   │   ├── aiohappyeyeballs v2.6.1
│   │   ├── aiosignal v1.4.0
│   │   │   └── frozenlist v1.8.0
│   │   ├── attrs v25.4.0
│   │   ├── frozenlist v1.8.0
│   │   ├── multidict v6.7.0
│   │   ├── propcache v0.4.1
│   │   └── yarl v1.22.0
│   │       ├── idna v3.11
│   │       ├── multidict v6.7.0
│   │       └── propcache v0.4.1
│   ├── azure-ai-agents v1.2.0b5
│   │   ├── azure-core v1.36.0 (*)
│   │   ├── isodate v0.7.2
│   │   └── typing-extensions v4.15.0
│   └── azure-ai-projects v2.0.0b2
│       ├── azure-core v1.36.0 (*)
│       ├── azure-storage-blob v12.27.1
│       │   ├── azure-core v1.36.0 (*)
│       │   ├── cryptography v46.0.3 (*)
│       │   ├── isodate v0.7.2
│       │   └── typing-extensions v4.15.0
│       ├── isodate v0.7.2
│       └── typing-extensions v4.15.0
├── aiohttp v3.13.2 (*)
├── azure-identity v1.26.0b1 (*)
├── fastapi v0.123.0
│   ├── annotated-doc v0.0.4
│   ├── pydantic v2.12.5 (*)
│   ├── starlette v0.50.0 (*)
│   └── typing-extensions v4.15.0
├── httpx v0.28.1 (*)
├── microsoft-agents-a365-notifications v0.1.0
│   ├── microsoft-agents-activity v0.5.3
│   │   └── pydantic v2.12.5 (*)
│   ├── microsoft-agents-hosting-core v0.5.3
│   │   ├── azure-core v1.36.0 (*)
│   │   ├── isodate v0.7.2
│   │   ├── microsoft-agents-activity v0.5.3 (*)
│   │   ├── pyjwt v2.10.1 (*)
│   │   └── python-dotenv v1.2.1
│   ├── pydantic v2.12.5 (*)
│   └── typing-extensions v4.15.0
├── microsoft-agents-a365-observability-core v0.1.0
│   ├── microsoft-agents-a365-runtime v0.1.0
│   │   └── pyjwt v2.10.1 (*)
│   ├── opentelemetry-api v1.38.0 (*)
│   ├── opentelemetry-exporter-otlp v1.38.0
│   │   ├── opentelemetry-exporter-otlp-proto-grpc v1.38.0 (*)
│   │   └── opentelemetry-exporter-otlp-proto-http v1.38.0
│   │       ├── googleapis-common-protos v1.72.0 (*)
│   │       ├── opentelemetry-api v1.38.0 (*)
│   │       ├── opentelemetry-exporter-otlp-proto-common v1.38.0 (*)
│   │       ├── opentelemetry-proto v1.38.0 (*)
│   │       ├── opentelemetry-sdk v1.38.0 (*)
│   │       ├── requests v2.32.5 (*)
│   │       └── typing-extensions v4.15.0
│   ├── opentelemetry-sdk v1.38.0 (*)
│   ├── pydantic v2.12.5 (*)
│   └── typing-extensions v4.15.0
├── microsoft-agents-a365-observability-extensions-agent-framework v0.1.0
│   ├── microsoft-agents-a365-observability-core v0.1.0 (*)
│   ├── opentelemetry-api v1.38.0 (*)
│   ├── opentelemetry-instrumentation v0.59b0
│   │   ├── opentelemetry-api v1.38.0 (*)
│   │   ├── opentelemetry-semantic-conventions v0.59b0 (*)
│   │   ├── packaging v25.0
│   │   └── wrapt v1.17.3
│   └── opentelemetry-sdk v1.38.0 (*)
├── microsoft-agents-a365-runtime v0.1.0 (*)
├── microsoft-agents-a365-tooling v0.1.0
│   ├── pydantic v2.12.5 (*)
│   └── typing-extensions v4.15.0
├── microsoft-agents-a365-tooling-extensions-agentframework v0.1.0
│   ├── agent-framework-azure-ai v1.0.0b251120 (*)
│   ├── azure-identity v1.26.0b1 (*)
│   ├── microsoft-agents-a365-tooling v0.1.0 (*)
│   ├── microsoft-agents-hosting-core v0.5.3 (*)
│   └── typing-extensions v4.15.0
├── microsoft-agents-activity v0.5.3 (*)
├── microsoft-agents-authentication-msal v0.5.3
│   ├── cryptography v46.0.3 (*)
│   ├── microsoft-agents-hosting-core v0.5.3 (*)
│   ├── msal v1.34.0 (*)
│   └── requests v2.32.5 (*)
├── microsoft-agents-hosting-aiohttp v0.5.3
│   ├── aiohttp v3.13.2 (*)
│   └── microsoft-agents-hosting-core v0.5.3 (*)
├── microsoft-agents-hosting-core v0.5.3 (*)
├── pydantic v2.12.5 (*)
├── python-dotenv v1.2.1
├── typing-extensions v4.15.0
├── uvicorn[standard] v0.38.0 (*)
├── mypy v1.19.0 (group: dev)
│   ├── librt v0.6.3
│   ├── mypy-extensions v1.1.0
│   ├── pathspec v0.12.1
│   └── typing-extensions v4.15.0
├── pytest v9.0.1 (group: dev)
│   ├── iniconfig v2.3.0
│   ├── packaging v25.0
│   ├── pluggy v1.6.0
│   └── pygments v2.19.2
├── pytest-asyncio v1.3.0 (group: dev)
│   └── pytest v9.0.1 (*)
└── ruff v0.14.7 (group: dev)
(*) Package tree already displayed

I have also tested by building wheels from main off this repository and still gets the same error.


Please let me know if there is anything I can do / missing / misconfigured on my end. Appreciate any help. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions