Authentication with API based messaging extension

Microsoft

Hey Everyone!

 

We have created API based messaging extension with Open API specification file. Currently we have uploaded the custom app as API based messaging extension on Teams. Without authentication, I'm able to run this custom app on M365 copilot as well as run in personal app messaging extension. However, when I implement authentication and enable auth type as "MicrosoftEntra" and setup my AAD accordingly, I could generate authentication token from my personal app messaging extension. But M365 copilot is not able to generate a token for my open API when this plugin is enabled in M365 copilot. Could you please help me understand the issue and what needs to be done here?
we have referred to below links. The suggestions given does not work for M365 auth.
1. https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/build-api-based-messa...
2. https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/api-based-overview

0 Replies