microsoft-teams

how to increase the size of the adaptive card?

不问归期 提交于 2020-07-03 08:52:29
问题 I have used an adaptive card to show data on a table format. There are four columns showed on the adaptive card. On Bot framework emulator it shows proper data as shown image. On bot framework emulator it shows proper column data. But when it deployed on teams, Its last column data get truncated, How to solve it? how to increase the size of the adaptive card? 回答1: The width of Adaptive Cards in the Teams client is determined by the Teams client itself based on the current viewing area width -

how to increase the size of the adaptive card?

耗尽温柔 提交于 2020-07-03 08:52:06
问题 I have used an adaptive card to show data on a table format. There are four columns showed on the adaptive card. On Bot framework emulator it shows proper data as shown image. On bot framework emulator it shows proper column data. But when it deployed on teams, Its last column data get truncated, How to solve it? how to increase the size of the adaptive card? 回答1: The width of Adaptive Cards in the Teams client is determined by the Teams client itself based on the current viewing area width -

Teams: Invoke-Webrequest sending base64 string (png) to Teams

允我心安 提交于 2020-06-29 04:29:05
问题 I am trying to send a base64-string which is a png to our Teams-channel which have an "Incoming Webhook" setup. The message is sent to the channel but no image is displayed and when I searched for this it seems that I can't send an image or any other type of attachment as a base64-string to Teams? Extremely new to json and consuming / using rest api in general. I have no idea how to instruct the body that the string is a base64-string and the expected output should be a png-file. Tried this:

Create event with Microsoft Teams online meeting using Microsoft Graph Java SDK

吃可爱长大的小学妹 提交于 2020-06-28 08:08:55
问题 Searching in the Microsoft Graph documentation, I found this: https://docs.microsoft.com/es-es/graph/api/user-post-events?view=graph-rest-1.0&tabs=java It says that you can create an event with an online meeting using Java "Event" type. Code example But the problem is, when I tried to do it with the current last Microsoft Graph SDK version 1.7.1, I noticed that "event.isOnlineMeeting" and "event.onlineMeetingProvider" don't exists. Is it not implemented yet? Or I'm missing a new Microsoft

Why does Get User Access token throws invalid_grant error?

☆樱花仙子☆ 提交于 2020-06-28 06:14:26
问题 I am using Microsoft Graph Postman Collections to test common Microsoft Graph APIs from within Postman. However, I am stuck while trying to fetch user access token Below is the request POST /7c69806f-5754-488f-9dd8-7daa8afea4fd/oauth2/v2.0/token HTTP/1.1 Host: login.microsoftonline.com Content-Type: application/x-www-form-urlencoded SdkVersion: postman-graph/v1.0 cache-control: no-cache Postman-Token: ac512133-5afe-47a3-ae9b-3b6c0b510ebd grant_type=passwordclient_id=ebbe4872-5b7187

Why does Get User Access token throws invalid_grant error?

只谈情不闲聊 提交于 2020-06-28 06:14:11
问题 I am using Microsoft Graph Postman Collections to test common Microsoft Graph APIs from within Postman. However, I am stuck while trying to fetch user access token Below is the request POST /7c69806f-5754-488f-9dd8-7daa8afea4fd/oauth2/v2.0/token HTTP/1.1 Host: login.microsoftonline.com Content-Type: application/x-www-form-urlencoded SdkVersion: postman-graph/v1.0 cache-control: no-cache Postman-Token: ac512133-5afe-47a3-ae9b-3b6c0b510ebd grant_type=passwordclient_id=ebbe4872-5b7187

Document uploaded to MS Teams using graph API gets corrupted

随声附和 提交于 2020-06-28 04:47:25
问题 I am trying to upload a document to Microsoft Teams using Microsoft Graph (beta version), but the document gets corrupted after a successful upload. Using Graph, I'm first creating an Group, creating a Team based on the Group, adding some Team Members and finally uploading a document to the default channel. All works fine except the uploaded document gets corrupted and the Office Online editor is not able to open it. We can however download the file and open in Microsoft Word after correcting

Is there a way to create a private channel's SharePoint site?

拟墨画扇 提交于 2020-06-27 18:32:28
问题 We currently have an issue when creating private channels using the "/teams" Graph API endpoint. When adding a private channel from the Graph API, the SharePoint site associated to the channel is not provisioned. User needs to visit the "Files" tab in the MSTeams client for the site to be created. We noticed that this is not the case when initially creating the Team from the MSTeam client or from the "/groups/{id}/team" endpoint (which is marked as being soon deprecated). Using either of

Sending proactive messages to a channel in Teams

好久不见. 提交于 2020-06-24 14:45:30
问题 So, I searched far and wide, read everything I could find on the topic and I am still failing at this. I have managed to send proactive message to user, reply to a topic in team, etc. but I am unable to send a proactive message (create new post) in a team channel. Is there an available example (I was unable to find any)? MS Docs for NodeJS seem to show an example of messaging each user in the team, but not the channel itself. I explored the source code, and channelData is hardcoded to null

Sending proactive messages to a channel in Teams

余生颓废 提交于 2020-06-24 14:43:30
问题 So, I searched far and wide, read everything I could find on the topic and I am still failing at this. I have managed to send proactive message to user, reply to a topic in team, etc. but I am unable to send a proactive message (create new post) in a team channel. Is there an available example (I was unable to find any)? MS Docs for NodeJS seem to show an example of messaging each user in the team, but not the channel itself. I explored the source code, and channelData is hardcoded to null