Extend Copilot using bot-based messaging extension and would like to connect A Rasa bot which is configured using Bot(Webhook)

Hi Team,

To achieve: Want to develop messaging extension using Teams Developer Portal and I would like to use as a plugin in Teams Microsoft Copilot.(Extend Copilot using Plugins)

Steps Taken:

  1. Create a Azure ad app
  2. Create a App in Developer portal and configure Azure AAD appid to that app
  3. In created app in Teams, I’ve added app feature as Messaging extension and connected created bot to that messaging extension
  4. Bot that created is configured with enabled channel options with Microsoft Teams and Microsoft Teams 365 App Extension

The channel URL, I configured on Bot is redirecting to rasa server : https://813d-2401-4900-1c2c-75b3-7146-a099-e555-9b59.ngrok-free.app/webhooks/botframework/webhook

When I run this plugin in teams it says “Unable to reach app, Please try again.” When I enable plugin in copilot and enable the developer on it says below response: Event

Details

Enabled plugins

  1. Name: ExtendCopilot 2.Id*: 38905c70-ca37-4…

Matched functions

  1. Name: ExtendCopilot 2.Id*: 38905c70-ca37-4… 3.Function*: ManagerSearch

Selected functions for execution

  1. Name: ExtendCopilot 2.Id*: 38905c70-ca37-4… 3.Function*: ManagerSearch

Function execution details

  1. Name: ExtendCopilot 2.Id*: 38905c70-ca37-4… 3.Function*: ManagerSearch 4.Request Status*: Fail 5.Response Status*: 0 6.Response Type*: Unknown

Rasa server logs when I try to send message from Message extension in Teams 2024-04-19 15:58:32 ERROR rasa.core.channels.botframework - Bot framework JWT token could not be verified. 2024-04-19 15:58:32 ERROR rasa.core.channels.botframework - The token is not yet valid (nbf) Traceback (most recent call last):

My Question: Is it possible to connect rasa bot using bot based messaging extension which will be act as a plugin for copilot?