The MS Teams bot gets blocked when we uninstall the bot. The bot does not unblock itself when we install it again. We have to manually unblock it, or else messages do not get sent to the bot.
enter image description here
I uninstalled the bot, and the Chat tab of the bot is now blocked. We want to know if there is any way to automatically unblock the bot when we re-install it?
Related
I have a simple bot that has one command, and also responds to messages by echoing them back.
In desktop Teams, a command menu is displayed and the bot allows interaction.
In the iOS Teams app, there is no command menu and there is a message at the bottom of the chat tab saying "Conversation with this bot is not supported".
Is there a something specific that I need to do to allow this to work in iOS?
Removing the existing app and reinstalling the Teams iOS app resolved the issue.
I've been working on a Microsoft Teams app, and have been using the conversationUpdate message type that should be triggered whenever the app (or a user) is added to a team to send a welcome message. I am using the upload a custom app feature that Microsoft Teams has to upload the app.
For some reason, when I add the app to the team I want it on, the conversationUpdate message has never fired for me on the first attempt. No error message or warning of any type. It doesn't work until I go to the team I just added the app to, click the ellipses for the team and go to manage team, click apps, and remove the app I just added, then add the app again to the team. Only then do I get the correct conversationUpdate message that I can use to send out a welcome message.
I've tested out various bots written by Microsoft in their BotBuilder samples here: https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/javascript_nodejs and have gotten the same result as my custom bot. I don't know why this error occurs and if it is isolated to an app uploaded with the upload a custom app feature.
Does anybody have insight as to why this is happening and if it happens on the Microsoft Teams App catalog as well?
I eventually figured out what the issue was. It would work the very first time I added the bot to a Team, but when I removed it, I was removing it from the Apps -> Built for your org only and not also removing it from the individual Team I had added it to. For some reason, when I did it this way, the first time I added the bot back in it would not trigger the conversationUpdate activity. Presumably because it thought that it was added to that Team still. Not sure exactly why, but that's what is happening.
We recently added a QnA Maker Bot to MS Teams and got it to Deploy on the Azurewebsites.net/api. Unfortunately in MS Teams when you direct message the bot it is not responding at all. We checked the logs and are not getting any errors either. Any Idea where we need to check next?
Thank you,
M
I had exactly this problem, and it was because I was trying to hit the bot directly rather than creating a Teams App first. You will need to install App Studio from the Apps blade on the left if you haven't already.
Open up App Studio and click on Manifest editor tab
Click Create a new app
Fill our all of the required information for App details
Generate/create an App ID. This is NOT the same as your Bot's App ID
Click on Bots tab under Capabilities and add your bot
Install app for testing in specific Teams or Chats
Submit is for if you want to publish to your company's App Store. If you download the package you could import it in Step 2 instead of creating a new app. Or use it as a template to do future apps offline instead of using App Studio for the whole process.
Once I set up the bot in this way, it started responding to me. I tried with another app after doing this for one and confirmed that I would NOT get a response from a bot unless I had set it up with a manifest through App Studio.
I create azure bot with C# SDK and Echo Bot option. As there is no option appearing i.e. V3 or V4.
After giving all necessary details and out of the box bot created. Navigate and click the Test in Web Chat, that window keep showing waiting. Even i created the new bot, same issue persist.
Kindly suggest, what's issue here or any workaround.
I've used app studio from MS Teams to creat a manifest for a Bot App. I've uploaded the full color picture as well as trasparent outlone. However the icon is not displaying at the chat window. Only the default icon is visivle.
Any ideas, how can I solve the issue? Thanks a lot!
Is your bot sideloaded or uploaded to your organization's private app store? In those cases, the image used for the bot in the chat window is taken from the bot registration in Bot Framework. (This is a known issue that we're tracking.)
To change your bot's icon:
If you registered your bot using App Studio:
Go to https://dev.botframework.com/bots and sign in with the same account you use in Teams
Select your bot, then go to Settings
Click on "Upload custom icon"
If you registered your app using the Azure portal:
Go to the Bot Service or Bot Channels Registration resource in Azure
Go to Settings
Upload a custom icon
As #Adrian Solis answer is indeed correct, I just wanted to add that it can also be related to caching issues. If you are changing icons and want to check if everything is working as expected, you can delete your browsers cache or the cache of the Microsoft Teams Windows App.
The Microsoft Teams Windows App has the following cache folders. Just stop the app, delete everything in this folders and start it again.
%appdata%\Microsoft\teams\application cache\cache\
%appdata%\Microsoft\teams\blob_storage\
%appdata%\Microsoft\teams\Cache\
%appdata%\Microsoft\teams\databases\
%appdata%\Microsoft\teams\GPUcache\
%appdata%\Microsoft\teams\IndexedDB\
%appdata%\Microsoft\teams\Local Storage\
%appdata%\Microsoft\teams\tmp\