microsoft-teams

How to get data from SQL DB using client JavaScript?

随声附和 提交于 2020-06-17 15:57:28
问题 I am making a microsoft Teams app in javascript, and need to load data from an MS Sql database. Is there any way to get that data and display it in browser? I can do this for non web browser js using require, but havent found a way to get sql data into client js. 来源: https://stackoverflow.com/questions/62289683/how-to-get-data-from-sql-db-using-client-javascript

Adaptive card in teams not workig - REST API

久未见 提交于 2020-06-17 09:42:39
问题 I created a bot ( nodejs server) for teams - through bot framework. I'm trying to send adaptive card that I created through: adaptive cards designer and I get error : {"code":"BadArgument","message":"ContentType of an attachment is not set"} The request body : { "type": "message", "from": { "id": "xxxxxx" }, "conversation": { "id": "xxxxxx" }, "recipient": { "id": "xxxxx" }, "replyToId": "xxxxx", "text": "some text", "attachments": [ { "type": "AdaptiveCard", "$schema": "http://adaptivecards

Sending proactive messages to ms teams from azure deployed bot

与世无争的帅哥 提交于 2020-06-16 12:48:49
问题 I've already deployed the bot to azure, when connecting to the ms team channel in azure, i'm able to ping the bot and receive messages which is good. I've also added a proactive messaging in the bot where a message will be triggered every one minute in the channel. Its working in the emulator, however its not working in webchat and MS teams: The notifier controller is not being triggered. Could you please help me on that? I've uploaded the code in GITHUB: https://github.com/nivinsunathree

Changing radio status of Wi-Fi software in windows 10 via command prompt or powershall

佐手、 提交于 2020-06-13 09:10:11
问题 When we search on internet about how to turn on wifi using command prompt all solutions are about how to disable WLAN adapter which can be simply achieved by netsh command but what I was looking for is how to turn on or off my wifi without disabling network adapter. After some digging what I found is this In both cases wifi adaptor is enabled When we run Netsh WLAN show interface while wifi is on we get this There is 1 interface on the system: Name : Wi-Fi Description : Qualcomm Atheros

Add bot (ms-botbuilder) to the MS Teams Team/Channel programmatically

让人想犯罪 __ 提交于 2020-06-08 06:40:10
问题 I'm looking to find a way to add a bot to a team that this bot just created. Was able to create a group via MS Graph by the bot JS-SDK graphClient.api("/groups").post({ displayName: "Some Name", mailNickname: "Name without Spaces", description: "Some Description", visibility: "Private", groupTypes: ["Unified"], mailEnabled: true, securityEnabled: false, "members@odata.bind": members, // array of url strings of members "owners@odata.bind": owners, }); members and owners arrays of strings

Calling my .NET Core Teams Bot from Angular

空扰寡人 提交于 2020-06-01 07:47:47
问题 I have created a Teams bot in .NET Core from following the sample found here: https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/57.teams-conversation-bot This is working and is running locally with ngrok. I have a controller with a route of api/messages: [Route("api/messages")] [ApiController] public class BotController : ControllerBase { private readonly IBotFrameworkHttpAdapter Adapter; private readonly IBot Bot; public BotController

Microsoft Teams: Is at all possible to create a app/connector/bot for broadcasting?

房东的猫 提交于 2020-06-01 06:22:06
问题 Trying to parse through the Microsoft Documentation of this is a bit of a challenge. Our use case is that we want the app to receive broadcasts from an external service. On that broadcast we want it to send a personalized message to every person in the team/org. Is that at all possible? Doing this in Workplace and Slack was fairly straight forward but i'm going nowhere fast with Teams. Connectors seem weird and user-based, not team based, requiring you to set up a config page for it? Bots

Microsoft Teams: Is at all possible to create a app/connector/bot for broadcasting?

一曲冷凌霜 提交于 2020-06-01 06:20:49
问题 Trying to parse through the Microsoft Documentation of this is a bit of a challenge. Our use case is that we want the app to receive broadcasts from an external service. On that broadcast we want it to send a personalized message to every person in the team/org. Is that at all possible? Doing this in Workplace and Slack was fairly straight forward but i'm going nowhere fast with Teams. Connectors seem weird and user-based, not team based, requiring you to set up a config page for it? Bots

QnA Maker Bot formatting issue in Teams

社会主义新天地 提交于 2020-05-28 06:42:37
问题 We implemented a simple Azure bot using a QnA Maker knowledge base and we enabled the Teams channel. In the webChat, the markdown formatting is rendered just fine. However in Teams the markdown formatting is not always working as expected: If there is not any prompt in the answer, the formatting is perfect If there is a prompt in the answer, the Markdown formatting is not rendered as expected I attach the link of a screenshot illustrating the issue: Screenshot Illustrating the issue Did you

How get user email from MS Teams with a Bot using SDK4?

本秂侑毒 提交于 2020-05-17 06:34:38
问题 We have used C# and Bot Framework SDK4 for developing bot application and we have deployed the same on MS-Teams channel so for Authorization purposes, we required emailid of the MSTeams logged in user, so initially, we have faced some problems for getting emailid from the Activity object. but after doing some analysis we are getting email id from the BotFrameworkAdapter class in ms-bot v4 using C# 回答1: Private async Task GetUserProfile(TurnContext context,CancellationToken cancellationToken)