microsoft-graph

Issues getting drive information when using the Graph API with a server relative O365 url

£可爱£侵袭症+ 提交于 2020-05-17 06:24:39
问题 I'm trying to download a file located in a M365 site via the Graph API. If I reference the site via "hostname,siteID,webID", the request works via HttpClient, the Graph API SDK and Graph Explorer: https://graph.microsoft.com:443/v1.0/sites/hostname.sharepoint.com,fe0f6782-2cc6-447a-938f-bf6a379ed791,133e22cf-9a72-4ff2-a700-c0accacdcc8d/lists/Documents/drive/items/017TIGYVRADE3TAWYAQZBI3ET6GTHX77QO/content If I try to reference the site via the site relative URL method, the request fails if

Issues getting drive information when using the Graph API with a server relative O365 url

我怕爱的太早我们不能终老 提交于 2020-05-17 06:24:07
问题 I'm trying to download a file located in a M365 site via the Graph API. If I reference the site via "hostname,siteID,webID", the request works via HttpClient, the Graph API SDK and Graph Explorer: https://graph.microsoft.com:443/v1.0/sites/hostname.sharepoint.com,fe0f6782-2cc6-447a-938f-bf6a379ed791,133e22cf-9a72-4ff2-a700-c0accacdcc8d/lists/Documents/drive/items/017TIGYVRADE3TAWYAQZBI3ET6GTHX77QO/content If I try to reference the site via the site relative URL method, the request fails if

How to install a bot to microsoft teams (nodejs)

我与影子孤独终老i 提交于 2020-05-17 03:02:01
问题 Recently I have created a bot for microsoft teams. I have installed it to my teams successfully.But is there any way where all my organization users can install app by clicking on a single link that is displayed in my web page. For example like (authenticating slack bots, similarly like google auth). and I need to store the teams details of every user so that my bot can send messages to them. 回答1: If you want to give a link to install the app inside teams from an external webpage, you could

How to install a bot to microsoft teams (nodejs)

限于喜欢 提交于 2020-05-17 02:59:52
问题 Recently I have created a bot for microsoft teams. I have installed it to my teams successfully.But is there any way where all my organization users can install app by clicking on a single link that is displayed in my web page. For example like (authenticating slack bots, similarly like google auth). and I need to store the teams details of every user so that my bot can send messages to them. 回答1: If you want to give a link to install the app inside teams from an external webpage, you could

Microsoft Graph - Saving file attachments through C#?

最后都变了- 提交于 2020-05-15 18:13:05
问题 Is it possible to save file attachments in C# through Microsoft Graph API? I know I can get the properties of the attachment (https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/attachment_get) - can we also save it to a certain location? 回答1: When you get the attachment properties, they will contain information about the attachment. There are three types of attachments. First, check the attachment type in the properties' @odata.type and handle them correspondingly. For

Microsoft Graph: Filtering issue with Planner tasks

为君一笑 提交于 2020-05-15 16:32:11
问题 I want to filter Planner tasks, e.g. like this: https://graph.microsoft.com/v1.0/planner/plans/CONGZUWfGUu4msTgNP66e2UAAySi/tasks?$filter=title eq 'Take inventory' Graph API is not letting me filter tasks from Planner as can be observed from Graph Explorer. Has someone a solution for that? 回答1: Unfortunately Planner APIs currently do not support generic filtering. The typical approach for filtering is to read all tasks and filter on the client side. 来源: https://stackoverflow.com/questions

Microsoft Graph: Filtering issue with Planner tasks

泪湿孤枕 提交于 2020-05-15 16:31:12
问题 I want to filter Planner tasks, e.g. like this: https://graph.microsoft.com/v1.0/planner/plans/CONGZUWfGUu4msTgNP66e2UAAySi/tasks?$filter=title eq 'Take inventory' Graph API is not letting me filter tasks from Planner as can be observed from Graph Explorer. Has someone a solution for that? 回答1: Unfortunately Planner APIs currently do not support generic filtering. The typical approach for filtering is to read all tasks and filter on the client side. 来源: https://stackoverflow.com/questions

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 Get access to shared mailbox using Microsoft Graphs

匆匆过客 提交于 2020-05-12 02:46:44
问题 Is it possible to access shared mailbox using graphs? I would like access shared mailbox mail folders using graphs. 回答1: Simply treat it as any other user: https://graph.microsoft.com/v1.0/users/sharedaddress@microsoft.com/messages Make sure you have the right permissions set (Mail.Read.Shared) 来源: https://stackoverflow.com/questions/51719208/how-to-get-access-to-shared-mailbox-using-microsoft-graphs

how to Get access to shared mailbox using Microsoft Graphs

人走茶凉 提交于 2020-05-12 02:40:31
问题 Is it possible to access shared mailbox using graphs? I would like access shared mailbox mail folders using graphs. 回答1: Simply treat it as any other user: https://graph.microsoft.com/v1.0/users/sharedaddress@microsoft.com/messages Make sure you have the right permissions set (Mail.Read.Shared) 来源: https://stackoverflow.com/questions/51719208/how-to-get-access-to-shared-mailbox-using-microsoft-graphs