Azure Bots
5 TopicsHelp with Deploying AI Agents to Microsoft Teams Chats
Hello, I need help with deploying AI Agents (bots) to Microsoft Teams chats. Here's my current setup: - I have a REST API endpoint that processes user queries and provides LLM-based responses. - Users on my platform can create custom AI assistants. What I need assistance with is: - How to deploy these AI bots into Microsoft Teams chats, allowing end users to create and integrate their assistants directly into Teams. - Any resources or step-by-step guidance on bot registration, deployment, or integrating custom bots would be appreciated. Thank you for your help!882Views0likes4CommentsSend Messages using Bot/Change Notification in MS Teams
Hi I have some questions regarding bot functionality within Microsoft Teams. I'm developing an app/plug-in to monitor and analyze all incoming messages in chats and channels. The goal is to intercept these messages, check them for specific flagged (e.g., inappropriate) content, and instantly send a notification back to the respective chat or channel if flagged content is detected. I need to achieve this in real time. Currently, I’ve implemented the first half of this functionality using Microsoft Graph’s change notifications API, allowing me to intercept and read messages as they arrive. However, I’m facing a limitation: since my app doesn’t have permissions to post messages, I can't use the Graph API’s send capabilities to notify users within the channels or chats. To work around this, I’m considering utilizing a bot. My approach is to have a bot send these notifications to the appropriate chats and channels, using identifiers such as tenant ID, team ID, channel ID, message ID, and chat ID—information I retrieve through the change notifications API. So here are my main questions: Can I use a bot to send messages to various chats and channels on demand, leveraging the IDs obtained from the change notifications API? This would allow my app to handle message interception while the bot takes over in sending the flagged notifications. In my current setup, is there a way to reply to chats or channels directly using the Graph API's 'send' functionality through the app itself? It is related to Application/Delegation Permissions. Thanks408Views0likes5CommentsProblem with Bot configuration - Agent returned unsuccessful status code InternalServerError
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. After checking in the console, I see something like this: 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: For the production version, on the other hand, I have these: In addition, the Bot was converted to ES6 language, I defined it in package.json to read the type as a module: The manifest.json is set up like this: ... 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?1.2KViews0likes4CommentsREST API to send an adaptive card in MS Teams Bot
I want to send an adaptive card to a user, who has the bot that I am building on MS teams, by triggering an API whose body will have conversationId for the bot so that the card is sent only to that user. Would be of a great help if somebody can help me out with this.718Views0likes0Comments