microsoft-teams

How to get an Azure Active Directory access token for https://api.spaces.skype.com

那年仲夏 提交于 2019-12-11 11:59:33
问题 I need to get an access token for the audience https://api.spaces.skype.com. I need to use the Azure Active Directory v1 endpoint. I dont see any corresponding API permission In the Manifest there is the requiredResourceAccess section where resourceAppIds and scopes can be configured. How can I find the correct resource app id for https://api.spaces.skype.com? 回答1: That API is an internal one used by the Teams client only. We do not allow non-Microsoft applications to access it. The only

Microsoft Graph removal of Owners from Group is inconsistent in Microsoft Teams

旧巷老猫 提交于 2019-12-11 09:41:25
问题 I'm automating Microsoft Teams lifecycle (create, add membmers and owners, etc), and I have Teams with a set of Owners and Members (the Owners are also Members). Now when I use the Remove owners endpoint of the Microsoft Graph, I'm noticing some inconsistencies. Expected behaviour: Owner gets removed as Owner, but stays in place as Member (both in Azure AD as in Microsoft Teams). Observed behaviour v1.0 endpoint : In Azure AD, it's as expected. In Microsoft Teams however, the user stays

Microsoft bot does not respond back from firebase cloud function

邮差的信 提交于 2019-12-11 08:47:24
问题 I am using ms bot framework and created a new bot. and deployed the bot connector part on the google firebase functions. But below code does not respond. Below is the code: const builder = require('botbuilder'); const teams = require('botbuilder-teams'); import * as util from 'util'; const restify = require('restify'); let connector = new teams.TeamsChatConnector({ appId: 'my app id', appPassword: 'my app secret' }); var server = restify.createServer(); server.listen(80, function () { console

Access call history in app for Microsoft Teams

两盒软妹~` 提交于 2019-12-11 07:48:48
问题 While it seems it is not possible for an app to register incoming calls, I wondered if it would be possible to access the call history of the current user? It looks like there is a Graph API to get information of a specific call by id, I didn't find anything about getting the call history or the last call. This could be a workaround for our approach: We want to enable the employees to make several notes on incoming calls and reference them with existing items in another web application. Is

Unable to use bot from Teams

◇◆丶佛笑我妖孽 提交于 2019-12-11 07:29:01
问题 I have a bot that works well from the emulator or through the web channel. However, I can't manage to use it from Teams. I got an error saying this channel is not enabled. But it is, so I guess I'm missing something. 回答1: Confirmed that there is a bug. If you disable the Skype channel, Teams is also disabled. Work around for the moment is to re-add the Skype channel. 回答2: Do you have this toggle turned on inside the Microsoft Teams channel on Bot Framework? 来源: https://stackoverflow.com

Adding invited (guest) user to teams seems to not work properly

瘦欲@ 提交于 2019-12-11 06:08:33
问题 Hi (ref issue) After setting up the tenant to allow invitation of user from another domain, we are able to invite external users (in set domain) to teams. This works fine when doing it manually, in the GUI. However, when trying to add an invited user threw the windows graph API, something is not working properly. Our procedure to invite a user to a team is as follows: Note we are using application privileges Invite the user to the tenant (with or without welcome mail) https://docs.microsoft

How long can messages be when posting to a Microsoft Teams connector webhook?

拈花ヽ惹草 提交于 2019-12-11 05:32:55
问题 I am posting the results/logs of a CI/CD system to Microsoft Teams. While handling some failed builds with longer results, I stumbled upon the following error returned by the webhook URL https://outlook.office.com/webhook/bb6bfee7-1820-49fd-b9f9-f28f7cc679ff@<uuid1>/IncomingWebhook/<id>/<uuid2> : Webhook message delivery failed with error: Microsoft Teams endpoint returned HTTP error 413 with ContextId tcid=3626521845697697778,server=DB3PEPF0000009A,cv=BmkbJ1NdTkv1EDoqr7n/rg.0.. As I observe,

Verifying HMAC from Microsoft Teams custom Bot in PHP

懵懂的女人 提交于 2019-12-11 05:24:48
问题 I am trying to authenticate a Microsoft Teams custom Bot with PHP, following the Microsoft instructions and read de C# example code. Microsoft Intructions steps: 1. Generate the hmac from the request body of the message. There are standard libraries on most platforms. Microsoft Teams uses standard SHA256 HMAC cryptography. You will need to convert the body to a byte array in UTF8. 2. To compute the hash, provide the byte array of the shared secret. 3. Convert the hash to a string using UTF8

Send Attachments to Bot in Teams

冷暖自知 提交于 2019-12-11 04:49:42
问题 I'm working with BotBuilder in .NET C#. I can't figure out how I can send an attachment to the bot using Teams client - I've tried using the Windows desktop app and the web client but neither shows an attachment button in a chat with the bot. I also tried with the Android client and found that I could send image attachments but not other file types, which I then went back and found that I could do the same in desktop/web clients by pasting the image into the chat box. Using this method I do

Issue with ActionTypes.MessageBack in Microsoft Teams?

旧巷老猫 提交于 2019-12-11 02:14:32
问题 I am using 3.11 version of Bot Builder with C#. I have an action button of type ActionTypes.MessageBack with below attributes. cardActions.Add(new CardAction() { Type = ActionTypes.MessageBack, Title = "Update Est. Close Date", Value = JsonConvert.SerializeObject(data), Text = "Update Est. Close Date" }); When i click on the button, bot echoes back with "Update button" text in Microsoft Teams desktop versoin. But that is not the case for Microsoft Team in iOS. Is this an issue with