An Azure communication platform for deploying applications across devices and platforms.
Thanks for the detailed description
The root cause is that the auto-generated event subscription created by Copilot Studio points to Microsoft’s managed Bot Framework endpoint (https://europe.whatsapp.botframework.com/api/v1/bots/<id>). That endpoint is designed to work with the default delivery method (no explicit Microsoft Entra Authentication). When you switch the subscription to Microsoft Entra auth, Event Grid sends a validation request that includes a bearer token the managed endpoint isn’t built to handle, so the handshake fails.
could you please follow the below steps:
- Return to your Azure Communication Services resource and go to Events, then select the WhatsApp event subscription.
- Clear the Microsoft Entra Authentication settings by removing the Tenant ID and Application ID fields. This will revert to the original “Managed Identity For Delivery” or no authentication.
- Save the subscription. It should return to the Succeeded state.
If your agent is still not responding to WhatsApp messages, the default setup should work, but redeploying can often fix any remaining provisioning issues. In Copilot Studio, go to Channels, select WhatsApp, disconnect, and then Deploy again using the same ACS resource and phone number. After that, republish your agent. Also, ensure the agent’s Security settings are set to No authentication or Authenticate manually, since WhatsApp doesn’t support Microsoft Entra ID authentication. This is the supported Microsoft process for this integration.
reference:
https://dori-uw-1.kuma-moon.com/en-us/microsoft-copilot-studio/publication-add-bot-to-whatsapp
https://dori-uw-1.kuma-moon.com/en-us/azure/event-grid/troubleshoot-subscription-validation
https://dori-uw-1.kuma-moon.com/en-us/azure/event-grid/secure-webhook-delivery
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you