microsoft-teams

How to create a Connector with configuration loaded from web solution for Microsoft Teams

僤鯓⒐⒋嵵緔 提交于 2019-12-24 11:01:13
问题 I am trying to create a connector for Microsoft Teams. I have completed the registration in the connectors developer dashboard and downloaded the manifest.json. I am able to sideload the connector manifest in Teams and also find the connector in the list of connectors. When I select the connector and want to configure it, all data I have entererd is shown correctly. My problem is - I want to let the user of the connector select configuration parameters depending on their subscription on my

Microsoft Bot Connector - get activity id from response after sending message

懵懂的女人 提交于 2019-12-24 10:55:23
问题 I'm working on a bot for MS Teams using Microsoft's bot framework (using the .NET API). What I am trying to do right now is to retrieve the Activity.Id of a message the bot has just sent. When the bot receives a message, an Activity.Id is included and I was hoping there was a way to retrieve that when sending a message. I am currently sending using: var response = connector.Conversations.SendToConversation((Activity)activity); connector being an instance of Microsoft.Bot.Connector

MS Teams mobile (Android) bot attach image button is missing

元气小坏坏 提交于 2019-12-24 03:29:44
问题 I'm developing a Chatbot with Bot Framework (Nodejs), and connect to Microsoft Teams channel I can remember I test bot in MS Teams mobile (Android), and it used to have attach image button, but now button is missing -- Note -- Only Ms Teams mobile (Android) in private chat with bot 1:1 channel the button is missing, but chat with person and iOS is nothing -- Image -- MS Teams Bot on iOS have upload image button (image) MS Teams Bot on Android have no upload image button (image) 回答1: You must

How to publish Microsoft Teams app for internal company use?

泄露秘密 提交于 2019-12-24 03:26:15
问题 I'm developing a Microsoft Teams Tab App for internal company use. During development and testing, side-loading works good. How do I distribute the app and make it available to all Teams and Channels in my tenant? 回答1: Unfortunately this is not yet supported, but we are working on it and hope to have it by early next year. 来源: https://stackoverflow.com/questions/46787635/how-to-publish-microsoft-teams-app-for-internal-company-use

AAD authentication in Microsoft teams for Bot Framework

ぃ、小莉子 提交于 2019-12-23 05:09:40
问题 My Bot service uses a custom service that does AAD authentication before providing data. I have been using AuthBot for getting the AAD authentication. This method causes the user to move away from the bot and then paste back a magic code to complete the authentication. With Microsoft teams, is it possible to use the token generated for Teams authentication for Bot purposes? 回答1: It seems like the Microsoft Teams Channel does not support this feature, although it might be possible that it will

Create Microsoft team for office group programmatically

我的梦境 提交于 2019-12-23 04:56:40
问题 I'm creating an office group using Microsoft Graph API. After that I would like to create a Microsoft Team which is associated with the group. I can do this step manually, but I'm wondering if it's also possible to do so via API. Graph API doesn't seem to support Microsoft Teams yet. Am I correct? 回答1: You are correct, Teams is not yet part of the Graph API, nor do we yet have support for creating Teams. Both are on the road map, but I do not have an ETA for you at this time. 回答2: Actually

Accessing user presence with REST API for Microsoft Teams

。_饼干妹妹 提交于 2019-12-21 17:26:01
问题 I'd like to query both my own presence and other users' presences in Teams. Ideally I would like to receive notifications when they change so I can change my internal state. The graph API doesn't appear to have this functionality today. 回答1: Unfortunately this is not yet available. We do have plans to add this to Microsoft Graph but we do not have an ETA. 回答2: The API for the presence is now in beta: Graph Api beta 来源: https://stackoverflow.com/questions/51448561/accessing-user-presence-with

Microsoft Teams Webhook Generating 400 for Adaptive Card

旧巷老猫 提交于 2019-12-21 02:01:33
问题 I have a functioning webhook to a Teams channel to which I can successfully post messages. I am now trying to post an adaptive card to the webhook. Using Postman and performing a Post to https://outlook.office.com/webhook/xyz, with Content-Type set to application/json in the header and the following adaptive card set in the body. { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "speak": "Nothing to say.", "body": [ { "type":

Microsoft Teams Webhook Generating 400 for Adaptive Card

大憨熊 提交于 2019-12-21 02:01:23
问题 I have a functioning webhook to a Teams channel to which I can successfully post messages. I am now trying to post an adaptive card to the webhook. Using Postman and performing a Post to https://outlook.office.com/webhook/xyz, with Content-Type set to application/json in the header and the following adaptive card set in the body. { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "speak": "Nothing to say.", "body": [ { "type":

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

回眸只為那壹抹淺笑 提交于 2019-12-20 04:54:02
问题 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");