Share via

Issue with Custom Engine Agent for Copilot – Service Not Responding After Deployment to Kubernetes

Hasan, Md. Mehedi 0 Reputation points
2025-11-25T08:36:54.1966667+00:00

I’m trying to create a Custom Engine Agent for Copilot. I have set up a bot, an app registration, and a manifest file. When I run the service locally using DevTunnel, everything works fine—the bot responds as expected in Teams chat and Copilot chat.

However, after deploying the service to a Kubernetes cluster (running in a pod), I updated the bot configuration endpoint accordingly. The service is accessible from Postman and responds correctly to API calls, so I’m confident it’s active. It also works when tested via the “Test in Web Chat” feature on the bot configuration page.

The issue is that when I ask questions from Teams chat or Copilot chat, there is no response. I checked the pod logs, and there’s no trace of any incoming requests from Teams or Copilot. The same manifest and app registration work perfectly when the service runs locally via DevTunnel.

Could you help me identify why the bot is not receiving requests from Teams or Copilot after deployment to Kubernetes?

Microsoft Copilot | Microsoft 365 Copilot | Development

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.