microsoft-teams

Get members from any type of a chat in Teams (personal, groupChat, or channel)?

久未见 提交于 2021-02-11 18:22:43
问题 I have a message extension app for MS TEAMS. This app will be preinstalled inside some organization. I should get members of any conversation type. There is a way via a graph https://graph.microsoft.com/v1.0/groups/{group-id-for-teams}/members. I use application permission here. But it looks like I can get users only for "group" (a team is inside Teams), which has channels. I got 4 types of conversation type from ChannelAccount (namespace Microsoft.Bot.Schema): personal groupChat, channel,

Microsoft Teams Development linking to desktop apps

一笑奈何 提交于 2021-02-11 17:51:28
问题 In Outlook, excel and Word I’ve created context menus, which when chosen by the user, allows the user to jump to a desktop application (passing along the context of course as well). It all seems old school these days but think VSTO, Addins or even vba. Is something like this possible from a Teams conversation? EDIT - Example: In a conversation in MS Team John types a message to Fred "Hey Fred please look at file number 123456." Now currently Fred has to highlight and copy this number, open a

Microsoft Teams Development linking to desktop apps

人盡茶涼 提交于 2021-02-11 17:51:04
问题 In Outlook, excel and Word I’ve created context menus, which when chosen by the user, allows the user to jump to a desktop application (passing along the context of course as well). It all seems old school these days but think VSTO, Addins or even vba. Is something like this possible from a Teams conversation? EDIT - Example: In a conversation in MS Team John types a message to Fred "Hey Fred please look at file number 123456." Now currently Fred has to highlight and copy this number, open a

How to get continuation token to pass in GetConversationsAsync?

断了今生、忘了曾经 提交于 2021-02-11 17:45:27
问题 I am building a bot service to integrate with Microsoft Teams. I am new so I found difficulties to sort things out. Here is the C# code and the string value was the continue token. var convo = ((BotFrameworkAdapter)turnContext.Adapter).GetConversationsAsync(turnContext, "", cancellationToken); 回答1: GetConversationsAsync uses the Get Conversations API. This API must be called many times in sequence in order to retrieve all the conversations a bot has participated in. The continuation token is

Can't save custom connector configuration

最后都变了- 提交于 2021-02-11 16:28:44
问题 I am following the tutorials on https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/tabs/tabs-configuration with the configuration code provided. When I hit save after some seconds I get the error that it was not successful. As far as I am concerned all needed valid domains are added. Manifest.json { "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.3/MicrosoftTeams.schema.json", "manifestVersion": "1.3", "id": "ec3e802c-506d-4301-9ae4-868b93461ca0",

Can't save custom connector configuration

拟墨画扇 提交于 2021-02-11 16:28:23
问题 I am following the tutorials on https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/tabs/tabs-configuration with the configuration code provided. When I hit save after some seconds I get the error that it was not successful. As far as I am concerned all needed valid domains are added. Manifest.json { "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.3/MicrosoftTeams.schema.json", "manifestVersion": "1.3", "id": "ec3e802c-506d-4301-9ae4-868b93461ca0",

Microsoft Teams bot - debug link unfurling

你。 提交于 2021-02-11 15:27:31
问题 I'm trying to implement pretty simple teams bot but constantly facing an issues with unpredictable behavior. E.g. documentation clearly says that Teams applies Adaptive card as link unfurling response but when I'm sending pretty simple response like: var card = new AdaptiveCard(new AdaptiveSchemaVersion(1, 0)); card.Body.Add(new AdaptiveTextBlock { Text = "Title", Size = AdaptiveTextSize.ExtraLarge }); var attachment = new MessagingExtensionAttachment { ContentType = AdaptiveCard.ContentType,

Microsoft Teams bot - debug link unfurling

北慕城南 提交于 2021-02-11 15:26:41
问题 I'm trying to implement pretty simple teams bot but constantly facing an issues with unpredictable behavior. E.g. documentation clearly says that Teams applies Adaptive card as link unfurling response but when I'm sending pretty simple response like: var card = new AdaptiveCard(new AdaptiveSchemaVersion(1, 0)); card.Body.Add(new AdaptiveTextBlock { Text = "Title", Size = AdaptiveTextSize.ExtraLarge }); var attachment = new MessagingExtensionAttachment { ContentType = AdaptiveCard.ContentType,

Microsoft team link is not appearing for alternate update calendar events

折月煮酒 提交于 2021-02-11 14:31:22
问题 I am using Microsoft graph API to create and update calendar events. While creating an event with Teams selected, a calendar event will be created and an email got sent with team link but on updating the same event, team link is missing in email. Like that for alternate update events team link is missing Can anyone help? 回答1: To keep the meeting link, do not update the body in the request, and it should work. The issue is happening because of a fix / feature that has been implemented on

Teams botframework send proactive message REST api

走远了吗. 提交于 2021-02-11 12:33:01
问题 I Try to create new converation and send proactive message with teams bot (botfreamwork). I used this document to do that. I POST to : SERVICE_URL/v3/conversations/ BODY: { "bot": { "id": BOT_ID }, "members": [ { "id": USER_ID } ], "channelData": { "tenant": { "id": TENANT_ID } } } BOT_ID - I put the app id of the bot (with a prefix of "28:") USERֹ_ID - I copied the USER_ID from a message I received from the user (not in a proactive message) TENANT_ID - I took the tenant id from the link of