office365api

Write requests are only supported on contained entities, Microsoft Graph API

こ雲淡風輕ζ 提交于 2020-06-28 02:37:41
问题 POST https://graph.microsoft.com/v1.0/Groups/bb754bb6-xxxx-xxxx-8e66-4c57c626ee29/members Accept: application/json Authorization: Bearer <access key> Content: { "directoryObject": { "id": "5cb55683-xxxx-xxxx-xxxx-5e163c939005" } } Response: { error: { code: "BadRequest" message: "Write requests are only supported on contained entities" innerError: { request-id: "20167459-5495-4034-9e27-503c64340c1f" date: "2015-11-27T14:25:20" }- }- } I am able to get members of a group but not able add a

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

OFFICE 365 API to retrieve external users list from AnyoneWithLink shareable link

本小妞迷上赌 提交于 2020-06-17 14:51:30
问题 Is there any API to get all the external users to whom document is shared via shareable link. Below is the example 回答1: Using below URL with driveId and documentId we can retrieve the permisisons. /drives/{drive-id}/items/{item-id}/permissions Under permisison response we can see with link shared with specific people permission objects contains grantedToIdentities field which is list of all specific peoples with whom document is shared as link. ` "grantedTo": null, "roles": [ "write" ], "id":

Get “Target URL … is not allowed” error message when actioning Outlook actionable message for external email user

半腔热情 提交于 2020-04-30 10:32:35
问题 We're developing a connector that creates actionable outlook messages for external users. I.E. This is a service. Can anyone please help with the below example? We're getting an error for the external users when they try to action the message by clicking on one of the action buttons. Example: User A is on the tenant that registered the connector - Tenant A, User B is on another Office 365 tenant, Tenant B. We've created an Office 365 connector targeting the user's "Inbox" The connector has

Get “Target URL … is not allowed” error message when actioning Outlook actionable message for external email user

和自甴很熟 提交于 2020-04-30 10:32:07
问题 We're developing a connector that creates actionable outlook messages for external users. I.E. This is a service. Can anyone please help with the below example? We're getting an error for the external users when they try to action the message by clicking on one of the action buttons. Example: User A is on the tenant that registered the connector - Tenant A, User B is on another Office 365 tenant, Tenant B. We've created an Office 365 connector targeting the user's "Inbox" The connector has

What does SPO required mean for Azure Graph API / OneDrive API access to read files (list and download)

廉价感情. 提交于 2020-03-26 04:04:21
问题 I had assumed that OneDrive offers a free personal storage tier, so that API accesss to OneDrive should not require that the user has an Office 365 subscription... However, after hours of debugging, and just going straight to Postman, after trying to call: https://graph.microsoft.com/v1.0/me/drive/root/search(q='.obj')?select=name,id,@content.downloadUrl using the token, the error returned seems to be that the user does not have SPO, which seems to mean Office365 subscription is required? {

What does SPO required mean for Azure Graph API / OneDrive API access to read files (list and download)

扶醉桌前 提交于 2020-03-26 04:03:45
问题 I had assumed that OneDrive offers a free personal storage tier, so that API accesss to OneDrive should not require that the user has an Office 365 subscription... However, after hours of debugging, and just going straight to Postman, after trying to call: https://graph.microsoft.com/v1.0/me/drive/root/search(q='.obj')?select=name,id,@content.downloadUrl using the token, the error returned seems to be that the user does not have SPO, which seems to mean Office365 subscription is required? {

Difference between Office 365 REST Api and Microsoft Graph

梦想的初衷 提交于 2020-01-24 03:21:28
问题 I would like to know difference between Office 365 REST API and Microsoft Graph, since we could find similar functionality for both of these. https://msdn.microsoft.com/en-us/office/office365/howto/rest-api-overview Following is the text from above link: Office 365 API functionality is also available through Microsoft Graph, a unified API that includes APIs from other Microsoft services such as Outlook, OneDrive, OneNote, Planner, and Office Graph, accessible through a single endpoint and

how to automate automatics addition of Office Plugin in excel file basically similar XLSTART folder work. Office Addin

陌路散爱 提交于 2020-01-17 06:06:17
问题 I am looking for option to automatically add my addins to users excel file. before 2013 office we had a xla and xlam file which i could place in XLSTART folder of office excel and then when i open office, it will prompt me to include addins in excel file if its not trusted or automatically included it if its already from trusted source. My office addin is not released to office store, it will be in user organization catalog. Basically my workflow would be -> when i click on export to excel