microsoft-teams

How MS Teams auto logs into Azure AD

*爱你&永不变心* 提交于 2019-12-12 23:15:19
问题 I tried few plugins to implement Azure AD auto-login functionality to an Electron app, but each of them had login issues described here if I choose file system URL(file:///) . This is because Electron apps run on file system URLs and Azure AD doesn't accepts a file system URL. As much as I know, MS Teams is build on Electron. How have they achieved it? Do I need to run a local server like electron-with-express? 来源: https://stackoverflow.com/questions/51773875/how-ms-teams-auto-logs-into-azure

Create Microsoft Team for Classes programmatically

拥有回忆 提交于 2019-12-12 18:35:36
问题 I need to create a Microsoft Team for Classes (special Team with an "Assignments" tab). I cannot figure out how to create a new Team that has the Assignments tab using using Microsoft Graph API (Beta). Also, is there anything special with how the Class Notebook (OneNote) is created? I need to be able to do this programmatically. 回答1: Creating new Teams isn't supported by Microsoft Graph at the moment. From the documentation: The following are the differences at the API level: Persistent chat

Teams doesn't display hero image

隐身守侯 提交于 2019-12-12 16:27:46
问题 I've been trying to send cards to Teams channels through a connector. The cards do appear but any hero image I try to send isn't displayed. The Message Card Playground displays the image correctly but it simply doesn't show up in Teams. I have no issues with the "normal" images. Here is the JSON that I'm sending through the webhook, but I've also tried the Twitter - Hero image sample card and it doesn't work either : { "@type": "MessageCard", "@context": "http://schema.org/extensions",

Programmatically Create Channel Tab (not from Configure popup)

≡放荡痞女 提交于 2019-12-11 16:25:36
问题 I have a use case where I would like to create a Channel/group tab, but from code -- not from the configure experience Where? user in in a channel and a Task is popped up (via custom iFrame) user selects an item from this iFrame, and a new Tab is created in that channel, pointing (Deeplinking?) to that content The channel may not have a Tab created; I can see how you get the current Tabs for a channel in microsoftTeams.js (ie: microsoftTeams.getTabInstances(callback: (tabInfo: TabInformation)

How to use Adaptive Cards on Teams Messaging Extension?

爱⌒轻易说出口 提交于 2019-12-11 15:59:21
问题 I'm developing a Teams Message Extension and I'm using ThumbnailCard to display my results, however I wanted to use a custom adaptive card. Is that possible? var resultCardList = GetAttachments(title); var response = new ComposeExtensionResponse(new ComposeExtensionResult("list", "result")); response.ComposeExtension.Attachments = resultCardList.ToList(); return response; foreach (var contract in contractItems) { var lastModified = (DateTime)contract["Modified"]; var justificativa = contract[

How to use Microsoft graph API without Login prompt

久未见 提交于 2019-12-11 15:54:03
问题 I have a custom application (Desktop C#) when I push a button it send messages to Microsoft Teams. the problem is whenever I run the program for the first time, I need to login into my Microsoft account. How to send/post message without prompt?(use Microsoft Graph API) here's my code: private static string ClientId = "49414fb7-f415-4a84-bac8-XXXXX"; private static string Tenant = "c7b6c891-cd42-41c4-8b44-XXXXX"; public static IPublicClientApplication PublicClientApp; string[] _scopes = new

Microsoft Azure login fails in electron app

℡╲_俬逩灬. 提交于 2019-12-11 15:44:14
问题 I am trying to integrate Microsoft Azure AD login functionality using ms-adal-angular6. This project is on Angular-6 to create a desktop application using Electron. Everywhere the login works fine except when I create the *.exe file because it has a file:// URL system. Below is the login failed screen after entering correct OTP during the login process. I tried adding a file://* Reply URL under portal.azure.com -> Azure Active Directory -> App registrations -> Settings(of one app) -> Redirect

How to get member added event or channel created event in MS Teams

删除回忆录丶 提交于 2019-12-11 15:29:02
问题 member added & channel created event in Teams I want to get the details like above, for example, adding member into one team OR creating new channel. I try List Channel Messages API, but the response have no relative details, just some chat messages details: List Channel Messages API: GET https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages Is there method to achieve the needs, Thanks. 回答1: There is currently no way to use MS Graph to subscribe to these

Generating a “conversationUpdate” type message while installing an app

梦想与她 提交于 2019-12-11 15:23:07
问题 Every time I try to install a Teams Bot App that I am building, I expect to see a "conversationUpdate" type message. But I am not seeing this kind of a message all the time. It is very inconsistent and far between. Is there a reliable way to generate "conversationUpdate" type of message? I am essentially trying to find a good way to test Welcome Messages on my local? 来源: https://stackoverflow.com/questions/55415130/generating-a-conversationupdate-type-message-while-installing-an-app

List who attended an MS Teams meeting and for how long they attended

陌路散爱 提交于 2019-12-11 14:59:32
问题 I'd like to list who attended a MS Teams meeting and for how long they attended so they can get credit for attending a training session. I've looked at the Graph API v1 and beta versions. Meetings have an object called meetingParticipantInfo , but there's nothing that I've seen that would indicate if that participant actually attended the meeting. Is there a way to get this information, and ideally, how long the participant attended? Or is there another way to get this information through