microsoft-graph-teams

Understanding Microsoft graph /getSchedule Api functionality

倖福魔咒の 提交于 2020-06-29 03:49:11
问题 I am trying to use graph /getSchedule api to check for meeting conflict. However I'm not quite about functionality and usage of request input field "availabilityViewInterval". My basic requirement is to pass a start and end dateTime and see if the resource is available(free/busy). Although I am able to get that in /getSchedule Api but not sure on some of the fields in request and response. "availabilityViewInterval" : This is a request field and is stated in document as optional but while

Error 7505 - Request Authorization Tenant Mismatch

陌路散爱 提交于 2020-06-28 08:09:35
问题 I am attempting to create a call using Example 3 from the documentation. I consistently get the same HTTP 403 response. My data is hosted via an Azure Portal Office Developer account. Sending a bearer token obtained through the process described as "Get access without a user." The bot is defined in Azure AD using an Office 365 developer account. The recipients are two of the users from that free AD deployment and the 16-user pack installed for testing. In the body of the HTTP 403 response, I

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

Add bot (ms-botbuilder) to the MS Teams Team/Channel programmatically

让人想犯罪 __ 提交于 2020-06-08 06:40:10
问题 I'm looking to find a way to add a bot to a team that this bot just created. Was able to create a group via MS Graph by the bot JS-SDK graphClient.api("/groups").post({ displayName: "Some Name", mailNickname: "Name without Spaces", description: "Some Description", visibility: "Private", groupTypes: ["Unified"], mailEnabled: true, securityEnabled: false, "members@odata.bind": members, // array of url strings of members "owners@odata.bind": owners, }); members and owners arrays of strings

Sending a chat message to a microsoft Teams channel using Microsoft Graph API C#

99封情书 提交于 2020-05-14 07:30:21
问题 My goal is simple. I want to send an automated chat message in to a MS Teams channel using the graph API. This seems to be beta feature of the graph API and is only avalible in the Microsoft.Graph.Beta. I have read the docs and have been trying to follow this example: https://docs.microsoft.com/en-us/graph/api/channel-post-messages, I have all the permissions set correct in my azure portal. I keep getting 'Unknown Error' I have tried: var graphServiceClient = MicrosoftGraphService

How to query for the list of members and their basic profiles, including Teams user IDs?

别来无恙 提交于 2020-04-17 22:50:56
问题 Is there an end-to-end sample provided to query for the list of members and their basic profiles, including Teams user IDs and Azure Active Directory (Azure AD)? I am following https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=json and microsoft graph Postman collection, however it seems too complex for me to understand. I need to fetch all the userId under for my MS Team 回答1: The document you are following is indeed used to get the information you

microsoft graph BETA add Microsoft Teams channel with isfavoritebydefault

萝らか妹 提交于 2020-02-23 03:49:39
问题 I am trying to create channels in Microsoft Teams using the Microsoft Graph Beta API. In the docs, it says that the channel entity has a property IsFavoriteByDefault that indicates Whether the channel should automatically be marked 'favorite' for all members of the team. Default: false. https://docs.microsoft.com/en-us/graph/api/resources/channel?view=graph-rest-beta#properties However, trying the Graph Beta API (either with custom call or the Graph Explorer) and whatever value I pass to this

microsoft graph BETA add Microsoft Teams channel with isfavoritebydefault

和自甴很熟 提交于 2020-02-23 03:48:28
问题 I am trying to create channels in Microsoft Teams using the Microsoft Graph Beta API. In the docs, it says that the channel entity has a property IsFavoriteByDefault that indicates Whether the channel should automatically be marked 'favorite' for all members of the team. Default: false. https://docs.microsoft.com/en-us/graph/api/resources/channel?view=graph-rest-beta#properties However, trying the Graph Beta API (either with custom call or the Graph Explorer) and whatever value I pass to this

Bot is not responding to @Mention when sending message using Graph API

旧巷老猫 提交于 2020-01-25 08:06:45
问题 I have created and deployed a bot in Microsoft Teams. Bot Works properly and responds when user talks to the bot using @Mention (e.g. @mybot) in a channel. I just tried to send message to the bot using graph API call: https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages Method : POST Content-type : application/json Body : "body": { "contentType": "html", "content": "Hello World <at id=\"0\">standupbot</at>" }, "mentions": [ { "id": 0, "mentionText":