I uploaded a BOT in Microsoft Teams, but for some reason, it behaves different than other channels. The bot wont understand my input, and LUIS would return none intent.
In other channels it works well, as well in the BOT Emulator.
This appear to be MS documentation about it, but it doesn't really explain what I need.
There's a way for me to debug the BOT running on Microsoft Teams??
Please! Thank you!
Ngrok is a good tool for setting up your bot on azure and debugging locally. This will help to find issues as you can walk through your code as described here to see where specifically your code is breaking.
The problem with LUIS using Microsoft Teams was that the activity receive the message in HTML. I found this SO question that helped me eliminate the HTML tags. On the other hand, Ngrok is the tool needed to accomplish remote debugging, and this blog describe the steps very well.
Please also look at Jmeter with
BotServiceStressToolkit
Which allows you to do some testing without Ngrok directly to your IIS Express instance while debugging.
Related
I am using sdk v4 bot embedded in sharepoint 2016 page using iframe webchat https://webchat.botframework.com/embed/[Token] url. It stopped working in IE 10. I remember it worked before 3 weeks. Please help as we put the bot in production.
There was a recent update to webchat, so I'm guessing this is a webchat version issue. Do you have the ability to use directline channel with botframework-webchat instead? There are a number of samples. In the getting-started full-bundle sample, you can see where the latest version is specified. You can use this to specify a later version, though I'm not sure if it will let you go far enough back.
You are also going to need to customize the formatting, as the new webchat comes through with essentially no formatting. There are a number of samples on that site showing the different formatting options as well.
For shorter term fix, you may be able to request your specific bot app ID to be reverted by contacting the Microsoft contact from this github issue, though I would recommend also working on updating your implementation as that probably won't be available forever.
I am having a bit of trouble establishing a bot to bot dialog conversation that allows for activities in MS teams such as update/delete activity etc. I have been trying to compare the botframework-solutions typescript VA/Skill samples, with botbuilder-samples (https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs/80.skills-simple-bot-to-bot).
Generally I know the Typescript sdks tend to be a little bit behind the C#. However the design pattern being used for typescript in the Virtual Assistant example is completely different and uses the botbuilder-solutions library, specifically having both control differences for the parent and the skill bots needing to be done.. Since the skill client and necessary classes already exist in botbuilder, and there exist examples that require only minor changes to the skill bot, what is the "source of truth" for best recommended practices to accomplish bot to bot dialog.
Unfortunately, a Typescript variant of this does not exist yet. However, there is a Javascript sample, 80.skills-simple-bot-to-bot, that may work for you.
It is a basic demonstration showing how to send a message from a "root" bot to a "skill" bot that echoes back the original message. With some elbow grease you may be able to refactor to Typescript and build out the functionality you need.
Hope of help!
Is there a way to mention someone in Microsoft Bot Framework v4? There is a possibility to check if there was somebody mentioned in the answer from the user, but I'm looking for a solution where the bot can mention someone.
All channels handle mentions differently. As #Mick mentioned; the scenario you are wanting (#mentioning someone outside the chat/discussion) isn't possible currently.
I'm not 100% aware on your exact needs, but depending on that, perhaps you could come up with something using a custom dialog and Graph API.
Backround:
We are using .NET SDK Version 3.13.1.0 of the bot framework on azure as azure webapp.
During the authentication process I get magic number which I have to paste in the Teams conversion. The problem is when I'm using "copy paste" I get authentication error.
I came across this Issue where this problem is mentioned as bug but I couldn't find any solution.
Anyone familiar with this issue ?
This is a known bug in the Teams channel here, where magic codes cannot be copy-pasted, possibly due to the aforementioned font issue. Possible work arounds include attempting to copy-'paste as plain text', pasting into a notepad-like program (strips the rich text from the copy), or manually typing it out.
I am a Software Engineer and working on developing an integration of my company's product with Microsoft Teams. The idea is that the product will send messages/notifications/alerts to a chat channel in Microsoft Teams. At the moment we are only working towards developing this integration with Microsoft Teams and not other office 365 products.
After researching on MSDN, Microsoft developer platform, google etc. I came to know that I can set up an incoming webhook which gives me a URL against a channel in Microsoft Teams and I can send messages to it. However, I came across another method which is having a connector in the Microsoft store. I would like to add a connector because it provides a nice front end and also gives us a presence on the store for external users. I found out that I can register a connector from the connector developer dashboard. Here is the documentation link that I was referring to:
https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/connectors
To test it out I referred to the following example on the MSDN blog:
https://blogs.msdn.microsoft.com/mvpawardprogram/2017/01/24/part-3-office-365-groups/
However, I am unable to see Microsoft Teams groups in the drop down. I am the owner of these groups on Microsoft Teams side. At my organization only I am using Microsoft Teams to test this integration because I am the only developer working on this. Please, see the screenshot below:
Then I read about sideloading your connector to Microsoft Teams to test it out which meant uploading the manifest.json file from the connector developer dashboard. Please, see the below screenshot:
But, after I download the manifest file and follow the instructions mentioned on this link https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/apps/apps-package I am still running into problems testing the office 365 connector with Microsoft Teams when uploading the manifest file. This is the error that I get, please see the screenshot below:
Also, I do this from my developer trial account and this is because from my company's paid developer enterprise account I do not see an option to upload a custom app. Please, see the screenshot below:
This is a product issue and I have been in touch with the product support for the past three weeks. We have tried various things over this course of time and nothing has worked. They have also ran recovery diagnostics on my account as well but, I saw no changes. All they tell me is that "this is bizarre, this should not be happening and that maybe Teams is a fairly new product and nobody develops for it etc. etc. " Although I do feel many enterprises are using it. Please, see the screenshot below:
I have not heard back since then. Please, help me regarding this issue. I would really love to start developing the actual integration with our product since it would be of great value to our customers.
Thanks,
Maria Shoaib.
Please use App Studio to create manifest file and test your connnector so that there are no errors while creating an app package. Also, please ask your tenant admin to enable the sideloading of external apps for Upload Custom App link to appear in Microsft Teams.