Problem with Bot configuration - Agent returned unsuccessful status code InternalServerError

Copper Contributor

I have a problem with the configuration of the bot in message-extension. I am using the app in MS Teams for both the bot (message-extension in channels only) and tabs for personal use. Everything locally worked. As I published for the organization, only tabs works, message-extension does not respond to the query and to the others, that is, the whole for the bot solution does not work.

domix1996_0-1706690570942.png

 

After checking in the console, I see something like this:

domix1996_2-1706690742994.png

domix1996_1-1706690649807.png

 

Locally for the bot, I use the Bot Framework implemented by https://dev.teams.microsoft.com/, while the production version of the bot is generated for Azure as Azure Bot.

This is the configuration I have for env local files:

domix1996_3-1706690942460.png

 

For the production version, on the other hand, I have these:

domix1996_5-1706691094472.png

 

In addition, the Bot was converted to ES6 language, I defined it in package.json to read the type as a module:

domix1996_6-1706691292344.png


The manifest.json is set up like this:

domix1996_7-1706691499401.png

...

domix1996_8-1706691578010.png

 

I'm missing an idea of what to set in Azure or what to set in code to make message-extension start responding to user requests....

 

Could you advise me? 

4 Replies

Hi @domix1996,

I am not sure if this helps you, but there is a global issue active regarding using a chat bots:

LeonPavesic_0-1706697126674.png

 


Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.


If the post was useful in other ways, please consider giving it Like.


Kindest regards,


Leon Pavesic
(LinkedIn)

@LeonPavesic Where can I find the latest information about this incident and the resolution of the problem from the global level ?

Hi @domix1996,

this message (or these kind of messages) are available in Microsoft 365 Admin Center (https://admin.microsoft.com/) under Health > Service Health.

How to check Microsoft 365 service health - Microsoft 365 Enterprise | Microsoft Learn


Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.


If the post was useful in other ways, please consider giving it Like.


Kindest regards,


Leon Pavesic
(LinkedIn)