microsoft-teams

Microsoft-Graph use $filter on webhook subscriptions

丶灬走出姿态 提交于 2019-12-02 06:00:59
I'm interested to use webhook to notify me when a user was added/removed from a Team on Microsoft Teams. But do not create a subscription for each team I prefer to enter in the filter the team that I am interested in being notified. So I used this Request: POST https://graph.microsoft.com/v1.0/subscriptions { "resource": "groups?$filter=mail eq 'someGroupmail@domain.com' or 'ohterGroupMail@domain.com'", "changeType": "updated", "clientState": "1234", "notificationUrl": " https://1234.ngrok.io/xxxxx ", "expirationDateTime": "2019-01-05T12:21:25Z" } The subscription was successful created

How to update an adaptive card which is already sent to user from BOT?

 ̄綄美尐妖づ 提交于 2019-12-02 05:26:26
I have already sent the card with capturing the details and with buttons.After clicking on submit from task module which will save details through http API here the activity type is Invoke. Now i have to update the existing adaptive Card. I have the code to update the message, but how to update the card or resend the card again. connector = new ConnectorClient(new Uri(activity.ServiceUrl)); reply = activity.CreateReply($"You sent {activity.Text} which was {activity.Text.Length} characters"); var msgToUpdate = await connector.Conversations.ReplyToActivityAsync(reply); Activity updatedReply =

How do I send a 1:1 welcome message?

末鹿安然 提交于 2019-12-01 09:36:44
I am looking to send a welcome message when a user installs my Teams bot. I've looked at the Teams API documentation and have received mixed messages on whether this should be possible. I have read in various places that my bot should receive a conversationUpdate when the bot is installed, as well as reading in various issues that I will not receive such an event. However, a bot exists which has this functionality. Hipmunk, when installed with private scope, sends me a message without being provoked further. How is this bot able to do this, and how can I replicate this functionality? Thanks

botframework on teams channel 1:1 Authentication AAD integrated

旧巷老猫 提交于 2019-12-01 04:37:11
I'm looking to connect my bot on teams channel but i didn't know the way to secure this for use only in our domains (organization). I have test to look (authentication AAD) for the Azure Web App but it's doesn't work on teams or on webchat because the endpoint adresse it's not redirected. I have test to implement AUTH card but it doesn't work on teams. Note : I'm using botframework C# api BotBuilder 3.15.2.2 I have look other "ask" like : AAD authentication in Microsoft teams for Bot Framework Is it possible to access custom tabs in 1:1 chats in MS Teams? https://docs.microsoft.com/en-us

MSBot not responding on on opening the bot. No Welcome messaged received

那年仲夏 提交于 2019-12-01 01:44:51
I have created and deployed bot using a sample bot Welcome-Bot example given in Azure portal docs. This bot shows a welcome message whenever the bot is joined or started. It shows welcome message when I test it on emulator. But when I deploy it to Azure and test in Test Web App chat or Teams it doesn't show me Welcome message. It show me the welcome message when I query something, i.e. it gives two responses : one is the welcome message and other one is the reply of the query asked . For Microsoft Teams, you need to create an app manifest using App Studio and install in your personal scope.

Microsoft Teams incoming call event

时间秒杀一切 提交于 2019-11-30 20:53:33
问题 I would like to create a app which will be informed when a user gets a call in MS Teams. I mean I want to subscribe something on event of incoming call and then do something based on information of incoming call. Is this possible? So far I do not see any events in SDK. 来源: https://stackoverflow.com/questions/54946502/microsoft-teams-incoming-call-event

How to mention a user/group in a new message to a channel?

限于喜欢 提交于 2019-11-30 14:43:18
I checked the samples/API references here: https://msdn.microsoft.com/en-us/microsoft-teams/connectors https://dev.outlook.com/Connectors/GetStarted https://dev.outlook.com/Connectors/Reference But cannot find how to mention someone in a new message to a channel. Programmatic @mentions are not currently supported by Microsoft Teams, but should be coming soon. Sorry this was never answered. This feature was added months ago - there are SDK methods called addMentionToText (Node.js) and AddMentionToText (C#) - source and usage samples here . There's also an example here that's actually a bit more

How do I send a 1:1 welcome message?

南笙酒味 提交于 2019-11-30 09:05:10
问题 I am looking to send a welcome message when a user installs my Teams bot. I've looked at the Teams API documentation and have received mixed messages on whether this should be possible. I have read in various places that my bot should receive a conversationUpdate when the bot is installed, as well as reading in various issues that I will not receive such an event. However, a bot exists which has this functionality. Hipmunk, when installed with private scope, sends me a message without being

Problem with “Value cannot be null. Parameter name: key” in tfs site server

一个人想着一个人 提交于 2019-11-27 06:09:34
问题 I have a problem with my site TFS when I click on my project on site: Value cannot be null. Parameter name: key I tried to find a solution to fix, but couldn't. I hope that anyone can help me. Thank you very much and regards. 回答1: We had the same issue, turns out there is a problem with the latest version (2.0.3) of the vsts-team-calendar extension: https://github.com/microsoft/vsts-team-calendar/issues/260 "As soon as this extension was pushed out, all the Team Projects disappeared from the

Proactive messaging bot in Teams without mentioning the bot beforehand

ⅰ亾dé卋堺 提交于 2019-11-26 22:12:55
问题 I'm using the Microsoft bot-framework to create a bot and integrate it into teams. Part of the bot's requirements include proactively messaging users once per day. From what I understand, I can only message users that has been added to the team/groupChat after the bot, or that have messaged the bot directly. My question is - can I somehow bypass this limitation? A friend of my referred me to a new feature of graphAPI, as part of the new beta version - https://docs.microsoft.com/en-us/graph