TEAM CLIENT
2 TopicsCan't access bot inside shared channel
I've built an application for the Microsoft Teams app and published it in my organization using the Developer portal. I want to access the bot inside a team's shared channel but cannot do so. I've also provided "sharedChannels" inside the supportedChannelTypes property in the manifest but still, it isn't working. The manifest of my application looks somewhat like this: { "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.15/MicrosoftTeams.schema.json", "version": "1.0.1", "manifestVersion": "1.15", "id": "10d58ca5-e2fd-4bb0-b488-ec31a1e071e5", "packageName": "Bot", "name": { "short": "Bot", "full": "Application" }, "developer": { "name": "Organization", "websiteUrl": "https://example.com/", "privacyUrl": "https://example.com/privacy", "termsOfUseUrl": "https://example.com/termsofuse" }, "description": { "short": "Test application", "full": "Test application." }, "icons": { "outline": "outline.png", "color": "color.png" }, "accentColor": "#60A18E", "configurableTabs": [ { "configurationUrl": "https://test.com/configure", "canUpdateConfiguration": true, "scopes": [ "team" ] } ], "bots": [ { "botId": "bot-id", "scopes": [ "groupchat", "team", "groupChat" ], "commandLists": [ { "commands": [ { "title": "register", "description": "register" } ], "scopes": [ "team" ] } ], "isNotificationOnly": false, "supportsCalling": false, "supportsVideo": false, "supportsFiles": false } ], "validDomains": [ "test.com" ], "defaultGroupCapability": { "team": "bot", "groupchat": "bot", "meetings": "bot" }, "authorization": { "permissions": { "orgWide": [], "resourceSpecific": [] } }, "supportedChannelTypes": [ "sharedChannels", "privateChannels" ] }Solved2.5KViews0likes6CommentsHello World Web app installed in Teams: 'Unable to reach app'
Hi, I am trying to use the HelloWorld Web app (HW) from TEAMS application, but 'Unable to reach app' message appears. I have my HW compiled (Microsoft.Teams.Samples.HelloWorld in Visual Studio 2017) running locally (browser opens in http://localhost:3333/) And with ngrok I can access remotelly (https://5d4c6462.ngrok.io) ngrok http 3333 -host-header=localhost:3333 This HW client generates a .zip with 2 .png files and the manifest.json file Then in my TEAMS app (left panel) I go to Apps-'Upload a custom app', browse and get that .zip. My HW is visible for my user In 'Teams' tab, I select a Team (MyTeam) and in 'Manage Team'-Apps, I install HW app ('More apps' button), but do nothing with 'Bot'/'Tab' and 'Messaging' options (all of them have a 'Set up' button that seems to do nothing) After that, in MyTeam I can see the HW app when I write hello, and my commands from composeExtensions (manifest) are available But when I enter a text, 'Unable to reach app' is displayed I supponse my problem is in the manifest file, but I don't know where... Anything related with an ID? In my Visual project, 'Assembly Info' I have a GUID value: "f543a88..." I have used this value in the manifest, for 'id', and for 'botId' in 'bots' and 'composeExtensions' Besides, I used 'https://5d4c6462.ngrok.io' in the urls The rest of the values in the manifest file are the ones by default Here is my manifest text: "$schema": "https://statics.teams.microsoft.com/sdk/v1.0/manifest/MicrosoftTeams.schema.json", "manifestVersion": "1.3", "version": "1.0.0", "id": "f543a885-72b3-49b1-93c5-b932bf356d78", "packageName": "com.contoso.helloworld", "developer": { "name": "Contoso2", "websiteUrl": "https://www.microsoft.com", "privacyUrl": "https://www.microsoft.com/privacy", "termsOfUseUrl": "https://www.microsoft.com/termsofuse" }, "name": { "short": "Hello World", "full": "Hello World App" }, "description": { "short": "Hello World App for Microsoft Teams", "full": "This sample app provides a very simple app. You can extend this to add more content and capabilities." }, "icons": { "outline": "contoso20x20.png", "color": "contoso96x96.png" }, "accentColor": "#60A18E", "staticTabs": [ { "entityId": "com.contoso.helloworld.hellotab", "name": "Hello Tab", "contentUrl": "https://5d4c6462.ngrok.io/hello", "scopes": [ "personal" ] } ], "configurableTabs": [ { "configurationUrl": "https://5d4c6462.ngrok.io/configure", "canUpdateConfiguration": true, "scopes": [ "team" ] } ], "bots": [ { "botId": "f543a885-72b3-49b1-93c5-b932bf356d78", "needsChannelSelector": false, "isNotificationOnly": false, "scopes": [ "team", "personal" ] } ], "composeExtensions": [ { "botId": "f543a885-72b3-49b1-93c5-b932bf356d78", "commands": [ { "id": "getRandomText", "description": "Gets some random text and images that you can insert in messages for fun.", "title": "Get some random text for funnn", "initialRun": true, "parameters": [ { "name": "cardTitle", "description": "Card title to use", "title": "Card title" } ] }, { "id": "getRandomText 2", "description": "Gets some random text and images that you can insert in messages for fun 2.", "title": "Get some random text for fun 2", "initialRun": true, "parameters": [ { "name": "cardTitle 2", "description": "Card title to use 2", "title": "Card title 2" } ] } ] } ], "permissions": [], "validDomains": [] } Any help?5.8KViews0likes4Comments