microsoft-graph-api

Microsoft Azure Graph API download itemAttachment content

匆匆过客 提交于 2020-06-27 23:10:26
问题 When I open email message in the office365 web browser page, there is an option to DOWNLOAD contents of the attached to this email itemAttachment ( another message attached to the current one using Microsoft Outlook ) - *.eml file, (contentType: RFC-822). However, when I'm trying to get the contents of this itemAttachment through Graph API (same operation), the contentBytes response property is not present. { "@odata.context": "https://graph.microsoft.com/beta/$metadata#users('bbbbb')

Microsoft Azure Graph API download itemAttachment content

随声附和 提交于 2020-06-27 23:10:14
问题 When I open email message in the office365 web browser page, there is an option to DOWNLOAD contents of the attached to this email itemAttachment ( another message attached to the current one using Microsoft Outlook ) - *.eml file, (contentType: RFC-822). However, when I'm trying to get the contents of this itemAttachment through Graph API (same operation), the contentBytes response property is not present. { "@odata.context": "https://graph.microsoft.com/beta/$metadata#users('bbbbb')

Unable to get worksheets for shared workbooks using Microsoft Graph API REST endpoint

。_饼干妹妹 提交于 2020-06-27 19:06:17
问题 how to get worksheets of a shared workbook /workbook/worksheets. I am able to get worksheets for personal workbooks but get invalid resource for shared workbooks 回答1: Finally got it to work! In order to get workseets of shared workbooks in office 365 need to use the following endpoint https://graph.microsoft.com/v1.0/drives/{remoteItem.parentReference.driveId}/items/{remoteItem.id}/workbook/worksheets In order to get {remoteItem.parentReference.driveId} and {remoteItem.id} use following

Unable to get worksheets for shared workbooks using Microsoft Graph API REST endpoint

℡╲_俬逩灬. 提交于 2020-06-27 19:05:07
问题 how to get worksheets of a shared workbook /workbook/worksheets. I am able to get worksheets for personal workbooks but get invalid resource for shared workbooks 回答1: Finally got it to work! In order to get workseets of shared workbooks in office 365 need to use the following endpoint https://graph.microsoft.com/v1.0/drives/{remoteItem.parentReference.driveId}/items/{remoteItem.id}/workbook/worksheets In order to get {remoteItem.parentReference.driveId} and {remoteItem.id} use following

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

Microsoft graph API: finding event by iCalUid

笑着哭i 提交于 2020-06-27 18:28:27
问题 I would like to decline one instance of recurring meeting. I only have masterSerieId, iCalId, time of that instance. Do you know how I could cancel that instance? Do I have to query using masterId and time of the instance to find event id or there is a way I would just find eventId using iCalId? 回答1: You can use OData query options to filter on just the event that has that particular iCalUId. For instance: GET https://graph.microsoft.com/v1.0/me/events?$filter=iCalUId eq '<your iCalUId>' 来源:

Microsoft Graph HonorNonIndexedQueriesWarningMayFailRandomly Error when filtering SharePoint Online lists

拈花ヽ惹草 提交于 2020-06-27 17:37:08
问题 I'm using ms-graph with SharePoint Online. I've a simple list with a single title column and 3 items. I use the following ms-graph call to filter items by title: https://graph.microsoft.com/v1.0/sites/root:/lists/list-guid/items?expand=fields&filter=startswith(fields/Title,%27fig%27) The result is an error message: Field 'Title' cannot be referenced in filter or orderby as it is not indexed. Provide the 'Prefer: HonorNonIndexedQueriesWarningMayFailRandomly ' header to allow this, but be