Bots
18 TopicsWhen the Bot's app secrets expires, how to fix. .
Hi, Just realized that the secret was expired from one of our Teams chatbot. On the Developer portal, there was nice button "Add a secret" under Tools \ Bot Management. And that was working fine, it adds the new secret and I was able to remove the expired. The only question is, was this enough? Or should I do something extra steps to get the new secret into use? After few hours, that still not react to me.212Views0likes3CommentsHelp 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!885Views0likes4CommentsIncoming Webhook to @mention a Bot
We have some messages that are arriving in Teams channels via an incoming webhook. We'd like to @mention a bot that is also in the channel so it can see the message. I've found some documentation on mentioning users via a Webhook but it doesn't seem to work for bots that are in the channel (I've tried both the Client ID and Object ID in Entra for the bot). Does this work? The documentation that I've been looking at is here: https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cdesktop%2Cconnector-html#user-mention-in-incoming-webhook-with-adaptive-cards Thank you!1.9KViews0likes1CommentBug: Adaptive card does not works on Microsoft Teams's mobile app
Hello, We got a problem with adaptive card, we are using an Action.Submit button where it invoke a message request for our bot, this works fine on web but on mobile does not works, button keep on feedback and does not do any request. This is our JSON: { contentType:'application/vnd.microsoft.card.adaptive', content: { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.3", "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "Image", "url": `https://digital-assets.projectcor.com/integrations/${statusUrl}-d-50.png`, "spacing": "None" } ], "width": "50px" }, { "type": "Column", "items": [ { "type": "TextBlock", "isSubtle": true, "text": `${companyName} > ${chipName}`, "color": "Dark", "wrap": true }, { "type": "TextBlock", "spacing": "None", "text": task.title, "color": "Dark", "size": "ExtraLarge", "weight": "Bolder", "wrap": true }, { "type": "TextBlock", "isSubtle": true, "text": `${lang.priority}: ${utils.getPriorityName(task.priority,locale)}`, "color": "Dark", "wrap": true }, ], "width": "stretch" } ] }, { "type": "ColumnSet", "separator": true, "spacing": "Medium", "columns": [ { "type": "Column", "items": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "Image", "url": "https://digital-assets.projectcor.com/integrations/deadline-2.png" } ], "width": "25px" }, { "type": "Column", "items": [ { "type": "TextBlock", "text": "Deadline", "color": "Dark", "weight": "Bolder", "wrap": true }, { "type": "TextBlock", "text": `${date ? date : 'No date'}`, "color": "Dark", "wrap": true } ], "width": "110px" }, { "type": "Column", "items": [ { "type": "Image", "url": "https://digital-assets.projectcor.com/integrations/usr.png" } ], "width": "25px" }, { "type": "Column", "items": [ { "type": "TextBlock", "text": "Project manager", "color": "Dark", "spacing": "Large", "weight": "Bolder", "wrap": true }, { "type": "TextBlock", "text": `${taskPm ? taskPm : 'No project manager'}`, "color": "Dark", "wrap": true } ], "width": "180px" } ] } ], "width": "stretch" } ] }, { "type": "ColumnSet", "spacing": "Medium", "columns": [ { "type": "Column", "items": [ { "type": "Image", "url": "https://digital-assets.projectcor.com/integrations/usr.png" } ], "width": "25px" }, { "type": "Column", "items": [ { "type": "TextBlock", "text": lang.collaborators, "color": "Dark", "spacing": "Large", "weight": "Bolder", "wrap": true }, { "type": "RichTextBlock", "inlines": [ { "type": "TextRun", "text": utils.collaboratorsArray(task.collaborators) } ], "spacing": "Small", "height": "stretch", } ], "width": "300px" } ], "separator": true }, { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "title": lang.comment, "data": { "msteams": { "type": "invoke", "value": { "type": "task/fetch", "action": "createComment", "route": `tasks/${task.id}` } } }, "style": "positive" }, { "type": "Action.OpenUrl", "title": lang.view_cor, "url": `https://${subdomain}.${utils.getWebUrl()}/tasks/${task.id}` }], "separator": true, "height": "stretch", "spacing": "Medium", "horizontalAlignment": "Center" } ], } Comment button of invoke type and action createComment has the issue. Thanks!4.4KViews1like9CommentsBest way to add and update a custom to client's MS teams app.
Greeting everyone! I work at a SaaS company and we have a multi tenant architecture where every client hosts their own instance of the product and the data. We don't have a common database or server. We're working on building an MS teams integration for the same more specifically a bot that responds to certain commands and does proactive messaging. Extra info We don't have common messaging endpoint for the bot (Multi tenant architecture). and for some security reasons we cannot create a common endpoint to reroute the incoming request as well to the correct route. My 2 questions are: 1. What's the best way to achieve this - Installing and updating a custom app with minimum to no help from client's IT/Admin team. 2. Is there any post request where we can send the .zip app package and make it work? We were going through this - https://learn.microsoft.com/en-us/graph/api/teamsapp-publish?view=graph-rest-1.0&tabs=http Is there any easy way of getting Authorization bearer token here required for the header (Not all of our clients are tech savvy). Thanks in advance 🙂2KViews0likes2CommentsImage not Rendering in MS Teams Adaptive Card
Hi Team, We have a .net application which has been designed to send any communication or announcements to end users through MS Teams bot, as an adaptive card. The adaptive card contains image, text and button. The image and text are being fetched from Azure storage account. The storage account is being accessible for only to the app service IP addresses which are whitelisted. But the image was not rendering the user’s MS teams bot. Hence we have been advised to whitelist the MS Teams server IP ranges (https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide#skype-for-business-online-and-microsoft-teams). But we could not able to whitelist multiple IP ranges in the Azure Storage account. Some of them are, 52.112.0.0/14, 52.120.0.0/14, 2603:1063::/38, 52.238.119.141/32, 52.244.160.207/32, 2603:1027::/48, 2603:1037::/48, 2603:1047::/48, 2603:1057::/48, 2620:1ec:6::/48, 2620:1ec:40::/42 It is causing that, the image is not rendering in user’s machine sometime. Kindly help us to sort out this issue on high priority.837Views0likes0CommentsMS Teams oAuth Prompt Customization
Hey everyone, We are using standard https://github.com/microsoft/botbuilder-js for Node.js and specifically the https://www.npmjs.com/package/botbuilder-dialogs package which provides us with OAuth prompt dialog which uses the https://www.npmjs.com/package/botbuilder-core OAuth card, here is the interface: We need to customize this card with some elements like other buttons, columns, images, and other adaptive card elements. But it does not seem possible straight from the definition. So here are the questions we have: Is it possible to do the required customizations to the OAuth Card? or as an alternative, is it possible to use the "signin" action directly in the adaptive card which is easily designable? We already tried putting "signin" action directly into the adaptive card but it's not being rendered by MS Teams. And we already tried sending the adaptive card with OAuth content-type – same behavior. Thanks1.4KViews0likes2CommentsImage slider in MS teams bot using card
Hi All, In my conversational bot i want to build a card with an image slider option. As shown in the attached image. Could you please let me know which teams card can be used to achieve the same functionality with some text and buttons.1.5KViews0likes2CommentsFiles retention on MS Teams chatbot conversation
Hi, I have a chatbot that uses MS Teams channel and supports files sharing, I'm facing some issues when the user try to upload a new file that has the same file name of an older upload. Example, if the user have an interaction with the bot and uploads the file "Capture.PNG" (default name using snipping tool). Then in a second interaction the user try to upload a new file that have the same name (user used again snipping tool and didn't changed the default name), it doesn't load, I realized that this is because the file is persisted in the chat and MS Teams detect that not allowing the user to upload it again. This is an issue because we want to allow the user to upload any file at any moment they are interacting with the bot no matter if the same filename was used. As the example above lot of users don't change the default name when using the snipping tool, which causes many confusions on end users making them feel that the chatbot doesn't work... Is there any way to change this configuration on a specific MS Teams bot? disabling the retention of files for example, or just allowing them to use the same filename several times?   Please note that this happens only if the user choose "Upload from my computer", if they choose "OneDrive" it works fine allowing the user to upload the same file multiple timesSolved1.3KViews0likes3CommentsTeams Meeting - Content share feedback
Hello all, I am very new to Teams bots, from what I've found so far this doesn't seem to be possible, but I'm wondering if there is any way to get feedback from a Teams meeting when someone in the meeting starts or stops sharing content? Basically I am trying to integrate a Teams room system with other controls, and I would ideally have a "content sharing has stopped" type event trigger something else in the room.1.7KViews1like5Comments