microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.5k stars 2.44k forks source link

[Question] Unable to integrate with Microsoft Teams #2938

Closed mobilebilly closed 7 years ago

mobilebilly commented 7 years ago

System Information (Required)

Issue Description

SheriEllisMSFT commented 7 years ago

@mobilebilly - Hi and thanks for using Teams. I'm a little confused - is this a bot or connector? I thought you said it was a bot and you have registered on the bot framework. If it's a connector, you need to register it on the Dev portal - here are the instructions. And then to sideload it into Teams, you need a manifest.json file. Here are the packaging instructions on MSDN, and there's a child page with the schema for the manifest. Bots and connectors are populated differently in the manifest.

If you've created the manifest and sideloaded it, can you poste your manifest here? Thanks and good luck!

mobilebilly commented 7 years ago

Hi @SheriEllisMSFT, thanks for your reply. Yes it is a bot (hosted on my local machine), what I did is enable "Microsoft Teams" at the "Connect to channels" section. If it is a bot, do I need to create any connector and/or prepare any manifest files?

001 002

There is one warnings message generated, 003

SheriEllisMSFT commented 7 years ago

@mobilebilly - yes, you need to create a manifest and then sideload it into the desired team in Teams. Here are the packaging instructions on MSDN, and there's a child page with the schema for the manifest. Have you created your manifest yet and did it work? If not, please post your manifest file here and we'll take a look. Good luck!

mobilebilly commented 7 years ago

Hi @SheriEllisMSFT , unfortunately, I cannot see any sideload option in the Teams setting, does it require any specific permission under o365?

teams

SheriEllisMSFT commented 7 years ago

Hi @mobilebilly - take a look at the Getting Started page on MSDN. Your 365 Admin needs to enable sideloading of apps for Microsoft Teams. After they do that, down in the bottom right corner, you'll see "Sideload an app" displayed next to "Create a custom bot". Good luck!

mobilebilly commented 7 years ago

Hi @SheriEllisMSFT, Thanks for your reply, but our 365 Admin won't allow us to enable the "sideload an app" setting at the moment.

bilby91 commented 7 years ago

@SheriEllisMSFT Does MS Teams support something like Slack with a shareable link to install the bot ? I guess that all the sideload is for dev testing only.

SheriEllisMSFT commented 7 years ago

@bilby91 Yes, sideloading is for testing only. Unfortunately, no, at this time, it is not possible to install bots via a website. But when you publish your app in the Office Store, it will be listed in the appropriate marketplaces. Here is our page describing the store submission process. Hope this helps! Please enquire again if you have additional questions.

JasonSowers commented 7 years ago

@SheriEllisMSFT it seems you left out the link you intended to post

GomathiSuresh commented 6 years ago

Hi, I have a bot deployed in Azure and has a valid Microsoft App Id and Password , and connected the bot it into Teams and the manifest file follows, but I am not getting reply from bots in teams { "$schema": "https://statics.teams.microsoft.com/sdk/v1.2/manifest/MicrosoftTeams.schema.json", "manifestVersion": "1.2", "version": "1.0.0", "id": "280b5919-7217-4072-ba52-adaa8e4f8b72", "packageName": "com.contoso.helloworld", "developer": { "name": "Contoso", "websiteUrl": "https://www.microsoft.com", "privacyUrl": "https://www.microsoft.com/privacy", "termsOfUseUrl": "https://www.microsoft.com/termsofuse" }, "name": { "short": "BottestHti", "full": "To test sample bot in Azure" }, "description": { "short": "Hello World App for Microsoft Teams", "full": "This sample app provides a very simple app for Microsoft Teams. You can extend this to add more content and capabilities." }, "icons": { "outline": "contoso20x20.png", "color": "round.png" }, "accentColor": "#60A18E", "staticTabs": [{ "entityId": "com.contoso.helloworld.hellotab", "name": "Hello Tab", "contentUrl": "https://bottesthti.azurewebsites.net/", "scopes": [ "personal" ] }], "configurableTabs": [{ "configurationUrl": "https://bottesthti.azurewebsites.net/about", "canUpdateConfiguration": true, "scopes": [ "team" ] }], "bots": [{ "botId": "280b5919-7217-4072-ba52-adaa8e4f8b72", "needsChannelSelector": false, "isNotificationOnly": false, "scopes": [ "team", "personal" ] }], "composeExtensions": [{ "botId": "280b5919-7217-4072-ba52-adaa8e4f8b72", "scopes": [ "personal", "team" ], "commands": [{ "id": "getRandomText", "description": "Gets some random text and images that you can insert in messages for fun.", "title": "Get some random text for fun", "initialRun": true, "parameters": [{ "name": "cardTitle", "description": "Card title to use", "title": "Card title" }] }] }], "permissions": [], "validDomains": [] }