microsoft-teams

Prompts not showing in in microsoft Teams integrated bot

醉酒当歌 提交于 2021-01-27 20:10:14
问题 I created bot using QnaMaker.ai service and Microsoft azure services.It's working fine with webchat channel.Now i integrated it with Microsoft Team channel and that's where i got into a problem. The prompts that were working in webchat channel are not working same in Teams channel. Like for question i showed 4 options to select.But in microsoft teams they are Bot in webchat channel and bot in Teams 回答1: Are you trying to show Suggested Actions? Suggested actions are not supported in Microsoft

'Unauthorized' error when requesting '/joinedTeams' from Microsoft Graph

放肆的年华 提交于 2021-01-27 07:11:20
问题 I am setting up an app for modifying a Microsoft Teams account (teams/channels) through the Microsoft Graph API, but I can't get responses from all of the endpoints which I need to call. I have followed the guide for creating an app with application permissions and acquired access (and refresh) token(s) succesfully. Calling the https://graph.microsoft.com/v1.0/users/<user guid>/joinedTeams endpoint yields a response as follows: { "error": { "code": "Unauthorized", "message": "Unauthorized",

TeamsBot - How do I get the Team Id from a conversationupdate event?

谁说胖子不能爱 提交于 2021-01-27 07:10:01
问题 I'm installing a Teams bot and adding it to a team. When I add it to the team, on the initial call I get the "conversationUpdate" event correctly, in OnTurnAsync. The issue I'm running into is that any call to get the team itself is failing because there is nothing there, that I can see, for getting the Id to call to get the team data. I want to be able to add it to the team, get that event and then get the data related to the team it was added to. Here is what I'm trying. private const

Open a file directly in Teams from a tab

 ̄綄美尐妖づ 提交于 2021-01-25 07:04:58
问题 I have deployed a SharePoint webpart (SharePoint Framework) to Microsoft Teams. In this web part, I have a list of files that I want to open directly in Teams. I have tried to get the link from the "Files" tab (https://teams.microsoft.com/l/file/7FFA7D9D-CBF1-4679-9C80-76446AE11ABD?tenantId=0f48c6f4-52a5-4553-b476-4ee2ee0aecca&fileType=docx&objectUrl=https%3A%2F%2Fxyz.sharepoint.com%2Fsites%2FAZRTZ%2FShared%20Documents%2FGeneral%2FArchitecture%2FTest.docx&baseUrl=https%3A%2F%2Fxyz.sharepoint

Open a file directly in Teams from a tab

妖精的绣舞 提交于 2021-01-25 07:00:17
问题 I have deployed a SharePoint webpart (SharePoint Framework) to Microsoft Teams. In this web part, I have a list of files that I want to open directly in Teams. I have tried to get the link from the "Files" tab (https://teams.microsoft.com/l/file/7FFA7D9D-CBF1-4679-9C80-76446AE11ABD?tenantId=0f48c6f4-52a5-4553-b476-4ee2ee0aecca&fileType=docx&objectUrl=https%3A%2F%2Fxyz.sharepoint.com%2Fsites%2FAZRTZ%2FShared%20Documents%2FGeneral%2FArchitecture%2FTest.docx&baseUrl=https%3A%2F%2Fxyz.sharepoint

Does Microsoft Teams have a way to update a user's status/presence?

落花浮王杯 提交于 2021-01-21 08:27:05
问题 Recent news says that Skype For Business is eventually going to be taken down and replaced by Microsoft Teams. I have a few projects that rely on Skype For Business and I use the following code to update a user's presence on Skype For Business using the 2013 lync SDK. public static void PublishPresence(ContactAvailability contactAvailability) { var publishData = new Dictionary<PublishableContactInformationType, object> { {PublishableContactInformationType.Availability, contactAvailability} };

Microsoft teams bot adaptive card carousel deleting a card

老子叫甜甜 提交于 2021-01-20 07:55:30
问题 I am using Microsoft teams bot with nodejs. I am rendering a carousel of adaptive cards with action on each card. My requirement is to delete an individual card out on which the action was clicked. Is it possible? Current code looks like below. i have given a try to deleteActive but that deletes entire carousel const { TurnContext, TeamsActivityHandler, CardFactory, AttachmentLayoutTypes, ActionTypes } = require('botbuilder'); class TeamsConversationBot extends TeamsActivityHandler {

Microsoft teams bot adaptive card carousel deleting a card

家住魔仙堡 提交于 2021-01-20 07:55:10
问题 I am using Microsoft teams bot with nodejs. I am rendering a carousel of adaptive cards with action on each card. My requirement is to delete an individual card out on which the action was clicked. Is it possible? Current code looks like below. i have given a try to deleteActive but that deletes entire carousel const { TurnContext, TeamsActivityHandler, CardFactory, AttachmentLayoutTypes, ActionTypes } = require('botbuilder'); class TeamsConversationBot extends TeamsActivityHandler {

Unable to post inline images along with the message in Microsoft Teams via Microsoft Graph API using C#

纵然是瞬间 提交于 2021-01-07 02:42:51
问题 I have been trying to post the images along with the message in Microsoft Teams via MS Graph API using C# but unable to do so. Below is the code I have tried: string userName = ConfigurationManager.AppSettings["UserName"]; string password = ConfigurationManager.AppSettings["Password"]; System.Security.SecureString passWordSecureString = new System.Security.SecureString(); foreach (char c in password.ToCharArray()) passWordSecureString.AppendChar(c); var clientId = "xxxxxxxx-xxxx-xxxx-xxxx

How to rewrite a Adaptive Card Submit Action for MSTeams also working in Web Chat?

久未见 提交于 2021-01-07 02:41:53
问题 Hi i'm using adaptive Cards and want to generate a Submit Action which works in MS Teams as well as in Webchat. In Emulator this works fine. After i'm clicking the Button its like the user would type in "Test" in the chat. "actions": [ { "type": "Action.Submit", "title": "Test", "data": "Test" } This doesnt work in MS Teams. How to bring this to work? 回答1: My blog post explains that if you want to use a string submit action you will need to do it differently in Web Chat and Teams: https:/