bot
77 TopicsCSS Properties being stripped from Teams Chat messages from Bot
Hi Team, We've noticed that certain CSS properties are no longer appearing in HTML messages when sent to Teams Chat. Previously, our bot styled messages using display and border properties, but now these properties are missing from the HTML when we inspect the page. Steps to Reproduce: Start the Echo bot from the sample templates (I used Teams Toolkit to deploy it to Teams or run it in the Test tool). In the TeamsBot.ts file, modify the onMessage function by replacing await context.sendActivity(...) with the following code. This example adds styling to an echo message. const a: Partial<Activity> = { text: `<span style="display: block; color: red; border-radius: 4px; padding: 4px; border: 1px solid red; ">Echoo:</span> <span style="display: block;">${txt}</span>`, textFormat: TextFormatTypes.Xml }; await context.sendActivity(a); Note: I also tried sending the HTML directly with context.sendActivity(...) without setting the textFormat property in the Activity, and observed the same result. Run the bot in the Test tool and Teams to compare behavior. Observed behavior: In the Test tool: All styles are applied as expected. In Teams: Only the color property is applied, while display, padding, and border properties are ignored (stripped out of the HTML). Here’s an example of the HTML output in Teams: <div dir="auto" id="content-1730973548675" aria-label="Echoo: test styles properties" class="fui-Primitive ___16zla5h f1oy3dpc fqtknz5 fyvcxda"> <span style="color: red;">Echoo:</span> <span>test styles properties</span> </div> Could you provide insights on whether this change is intended, and if there are any workarounds for preserving these CSS properties in Teams messages? Thank you!920Views11likes4Comments"Build a Twitter Bot in 5 Minutes Without Any Code - Complete Guide"
Are you interested in building your own Twitter bot, but intimidated by the thought of writing code in a programming language like Python or JavaScript? Don't worry, you can create your own bot without any coding experience using Azure Logic Apps! Azure Logic Apps is a cloud platform that allows you to create and run automated workflows with minimal coding required. It is fully managed by Microsoft Azure, meaning you don't have to worry about hosting, scaling, or maintaining your solution. Plus, it offers hundreds of pre-built connectors to easily connect and integrate apps, data, services, and systems. In this guide, we'll show you how to build a Twitter bot using Azure Logic Apps in just 5 minutes. All you need is an Azure for Students subscription, which you can obtain with a student email address or the GitHub Student Developer Pack. Follow our step-by-step instructions and you'll have your own automated Twitter bot up and running in no time! Don't let coding barriers hold you back from building your own Twitter bot. Try Azure Logic Apps today and start automating your Twitter experience."8.4KViews5likes1CommentChat Bot inside SharePoint Online Tenant
I wanted to let whomever may be interested know that I added a ChatBot from the SPFX extension samples to my SharePoint Online Tenancy. We are using the bot as a company knowledge base and it is getting high praise. We are keeping the questions/answers in a SharePoint list and periodically I'm exporting that list and importing into Microsoft QNA. Works great so far. Wish that I could just point to the SharePoint list directly and skip the manual export/import process. It works on mobile devices as well. If the bot gets a question it doesn't know, it gives a link to a Microsoft Form to let the team know by a Flow that sends the team an email. Here is a screen shot. I recommend this in your SharePoint Tenant if you have the know how.2.5KViews3likes0CommentsMicrosoft Teams COVID-19 Response Bot
Microsoft Teams COVID-19 Response Bot Using an Information BOT to enable companies to build out a knowledge base and FAQ to interact and communicate to their employees. Target Audience: COVID-19 Company Response Teams Every group who is reacting to an unforeseen situation like: Communications, Help Desk, Human Resources, and Operations teams. Technical Requirements: Azure subscription; QnA Maker account; No experience with coding required. The Problem: Many companies have been struggling to provide communications and resources in an automated way. Microsoft Teams COVID-19 Response Bot adds value! In a pandemic situation, many companies that have not completed or started their digital transformation tend to struggle with high volume of inquiries being directed to their front line response teams. Azure Web Bot services can help reduce the overhead of the front-line response teams by inserting an automated layer and interactive for employees to engage your resources. We will show you below how to create a COVID-19 response bot and connect it to Microsoft Teams, a website (Intranet / Internet), and as an email responder in 12 easy steps that does not require any previous coding experience. Microsoft Teams: Employees want an interactive experience to communicate in a chat and ask questions about company resources and frequently asked questions. Intranet / Internet Communication: Employees are expecting crisis communication and interaction on the home page of the intranet to feel connected. Providing a real-time chat bot to allow employees to get company-specific information immediately. Bot used as an Email Responder: Companies can create a mailbox for crisis communication that provides valuable and relevant automated responses. Deploy Microsoft Teams COVID-19 Response Bot: Open Edge and navigate to https://qnamaker.ai on the top right corner click “Sign in” and sign in using your Microsoft Account. Once you have signed into your account, click on “Create a knowledge base” from the top menu. Once you clicked on Create a knowledge base, you will be required to create a QnA service in Microsoft Azure, click on the blue button that says “Create a QnA service". This will redirect you to your Azure portal and directly into Cognitive Services (QnA Maker). Fill the form and click on “Create” at the bottom: Once your deployment has been successfully implemented, go back to QnA Maker portal and click on “Refresh” and select the correct Azure QnA service from the drop downs. It is time to select a name for your Knowledge Base. Now it is time for us to populate the content for our bot, we will choose the URL for the FAQ the CDC has available (https://www.cdc.gov/coronavirus/2019-ncov/faq.html) and we will enable multi-turn, which will allow to present multiple potential matches for a single question, and for personality we will choose professional. Once you have the form filled, click on “Create your KB” this will take few minutes to parse all the questions on your FAQ URL or files (if you uploaded any). Once you are redirected to your knowledge base, click on “PUBLISH” to continue creating the bot A New page will be displayed, you will need to click on “Publish” at the bottom to be able to use this knowledge base to your bot in Azure. Once this task is completed, it will redirect you to the last page we need in QnAMaker.ai, which has a button to “Create bot”, this will redirect you to your Azure Portal again to create a bot. On the Web App Bot section of Azure, verify all the information has been filled and click “Create”, once the task is completed, your bot is live and ready to be used by deploying it on the channel of your preference (Teams, Email, Facebook, GroupMe, Kik, LINE, Skype, Slack, Telegram, Twilio, Cortana, Web Chat, and Direct Line). Deploying your bot on Microsoft Teams Go to your bot and click on "Channels". Click on the Microsoft Teams icon in the center of the page. Click Save and your bot will be ready to be used on Teams. Deploying your bot on a web site Go to your bot and click on "Channels". By default Web Chat is always enabled, click on "Edit" on the far right side. Copy the HTML code into the page you are going to implement the bot by clicking “Copy” in the “Embed code” section, and your bot will be available in the URL you pasted the code. Deploying your bot on an email: Go to your bot and click on "Channels". Click on "Email". Enter your Office 365 email credentials for the mailbox the bot is going to use and hit "Save", and your bot will be able to respond email messages that arrive to that specific mailbox. Bot Solutions Going Forward: HR Benefits, Help Desk, Office 365 Journey Advisor, Adoption Projects, Company branding materials, On-boarding mentor, and more. Contributors: Michelle Gilbert michellegilbert Daniel Lopez DanLopez5.5KViews3likes2CommentsUnfurlink Link (Adaptive card) in
Hello We try to return an adaptive card to the Microsoft Teams message area after pasting a URL in the MS Teams message area as shown https://github.com/microsoft/BotBuilder-Samples/blob/ddab761d5bbe5076e5513de23696a94663c9d188/samples/csharp_dotnetcore/55.teams-link-unfurling/Bots/LinkUnfurlingBot.cs#L17 (line 17). The only difference between our code and the code displayed https://github.com/microsoft/BotBuilder-Samples/blob/ddab761d5bbe5076e5513de23696a94663c9d188/samples/csharp_dotnetcore/55.teams-link-unfurling/Bots/LinkUnfurlingBot.cs#L17 is that instead of returning a Hero Card we would like to return an adaptive card. Unfortunately for some reason the adaptive card is not displayed in the MS Teams message area after pasting the URL in the message area. Could you share the way how to do it the correct way?2KViews2likes2CommentsMicrosoft Teams COVID-19 Response Bot
Microsoft Teams COVID-19 Response Bot Using an Information BOT to enable companies to build out a knowledge base and FAQ to interact and communicate to their employees. Target Audience: COVID-19 Company Response Teams Every group who is reacting to an unforeseen situation like: Communications, Help Desk, Human Resources, and Operations teams. Technical Requirements: Azure subscription; QnA Maker account; No experience with coding required. The Problem: Many companies have been struggling to provide communications and resources in an automated way. Microsoft Teams COVID-19 Response Bot adds value! In a pandemic situation, many companies that have not completed or started their digital transformation tend to struggle with high volume of inquiries being directed to their front line response teams. Azure Web Bot services can help reduce the overhead of the front-line response teams by inserting an automated layer and interactive for employees to engage your resources. We will show you below how to create a COVID-19 response bot and connect it to Microsoft Teams, a website (Intranet / Internet), and as an email responder in 12 easy steps that does not require any previous coding experience. Microsoft Teams: Employees want an interactive experience to communicate in a chat and ask questions about company resources and frequently asked questions. Intranet / Internet Communication: Employees are expecting crisis communication and interaction on the home page of the intranet to feel connected. Providing a real-time chat bot to allow employees to get company-specific information immediately. Bot used as an Email Responder: Companies can create a mailbox for crisis communication that provides valuable and relevant automated responses. Deploy Microsoft Teams COVID-19 Response Bot: Open Edge and navigate to https://qnamaker.ai on the top right corner click “Sign in” and sign in using your Microsoft Account. Once you have signed into your account, click on “Create a knowledge base” from the top menu. Once you clicked on Create a knowledge base, you will be required to create a QnA service in Microsoft Azure, click on the blue button that says “Create a QnA service". This will redirect you to your Azure portal and directly into Cognitive Services (QnA Maker). Fill the form and click on “Create” at the bottom: Once your deployment has been successfully implemented, go back to QnA Maker portal and click on “Refresh” and select the correct Azure QnA service from the drop downs. It is time to select a name for your Knowledge Base. Now it is time for us to populate the content for our bot, we will choose the URL for the FAQ the CDC has available (https://www.cdc.gov/coronavirus/2019-ncov/faq.html) and we will enable multi-turn, which will allow to present multiple potential matches for a single question, and for personality we will choose professional. Once you have the form filled, click on “Create your KB” this will take few minutes to parse all the questions on your FAQ URL or files (if you uploaded any). Once you are redirected to your knowledge base, click on “PUBLISH” to continue creating the bot A New page will be displayed, you will need to click on “Publish” at the bottom to be able to use this knowledge base to your bot in Azure. Once this task is completed, it will redirect you to the last page we need in QnAMaker.ai, which has a button to “Create bot”, this will redirect you to your Azure Portal again to create a bot. On the Web App Bot section of Azure, verify all the information has been filled and click “Create”, once the task is completed, your bot is live and ready to be used by deploying it on the channel of your preference (Teams, Email, Facebook, GroupMe, Kik, LINE, Skype, Slack, Telegram, Twilio, Cortana, Web Chat, and Direct Line). Deploying your bot on Microsoft Teams Go to your bot and click on "Channels". Click on the Microsoft Teams icon in the center of the page. Click Save and your bot will be ready to be used on Teams. Deploying your bot on a web site Go to your bot and click on "Channels". By default Web Chat is always enabled, click on "Edit" on the far right side. Copy the HTML code into the page you are going to implement the bot by clicking “Copy” in the “Embed code” section, and your bot will be available in the URL you pasted the code. Deploying your bot on an email: Go to your bot and click on "Channels". Click on "Email". Enter your Office 365 email credentials for the mailbox the bot is going to use and hit "Save", and your bot will be able to respond email messages that arrive to that specific mailbox. Bot Solutions Going Forward: HR Benefits, Help Desk, Office 365 Journey Advisor, Adoption Projects, Company branding materials, On-boarding mentor, and more. Contributors: Michelle Gilbert michellegilbert Daniel Lopez DanLopez1.8KViews2likes0CommentsWhat is the recommended bot type for multi-tenant bots?
According to this https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration?view=azure-bot-service-4.0&tabs=multitenant#bot-identity-information multi-tenant bots cannot be created after July 31, 2025. Another option to reach tenants other than ours is to use incoming webhooks. However, according to this https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=newteams%2Cdotnet, incoming webhooks will be deprecated at the end of 2025. I would like to create a bot that can be deployed to any Microsoft Teams outside our organization. What is the recommended approach? Thank you.Solved1.2KViews1like4CommentsWho can help? Bing bots refuse to crawl the content.
Bing support has been ignoring me for the past 9 months, repeatedly sending the same response: "The submitted URL is known to Bing but has some issues preventing indexing. We recommend following the Bing Webmaster guidelines to increase your chances of indexing." I discovered the issue and fixed it, but even after a long time, the site still hasn't been indexed. I have tried all the methods multiple times to speed up indexing, but it didn’t work. Bing is connected, but Bing bots refuse to crawl the content.105Views1like1CommentMeeting Bot issue: Did not receive valid response for JoinCall request from call modality controller
I'm trying to join a Teams Meeting with a bot. I used this https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/index.html#making-an-outbound-call-to-join-an-existing-microsoft-teams-meeting sample. When the bot attempts to join I get the popup to admit or deny it in the meeting, but as soon as I click admit, it drops. In the logs I see this message: Call status updated to Terminated - Did not receive valid response for JoinCall request from call modality controller.. DiagCode: 580#5426.@ I am using the latest (1.2.0.10563 at time of writing) version of Microsoft.Graph.Communications libraries and the problem only started after I updated from 1.2.0.3742 that I was using previously. I could not find any info on what the call modality controller is, or how to check what it is responding if anything. Any ideas on how to troublshoot this are welcome.1.1KViews1like9CommentsMS Federal Business Apps Webinar: How to build a Virtual Agent chat Bot and Extend it with Azure
Bots are everywhere, in this session we will talk about the proliferation of bots in the Federal Government and show how bot technologies can be extended with Azure and Cognitive services to improve customer support or internal teams. This session will enable you to leave with ideas on how your organization can scale and support your constituents by utilizing advanced bot concepts and implementations.3.5KViews1like2Comments