office365api

Microsoft Graph get filename

。_饼干妹妹 提交于 2020-07-23 16:07:54
问题 Currently stuck with getting the filename of a ressource from SharePoint online aka Office 365. Authentication and refresh token is from the Unified Api example aka Microsoft Graph. var authResult = await authContext.AcquireTokenByAuthorizationCodeAsync( ... var imgBytes = await httpClient.GetByteArrayAsync(parameters.FileGet); return File(imgBytes, "application/specialFormat", "File1.specialFormat"); At the moment I have to define my own filename. I' ve already seen the example at http:/

Microsoft Graph get filename

删除回忆录丶 提交于 2020-07-23 16:07:02
问题 Currently stuck with getting the filename of a ressource from SharePoint online aka Office 365. Authentication and refresh token is from the Unified Api example aka Microsoft Graph. var authResult = await authContext.AcquireTokenByAuthorizationCodeAsync( ... var imgBytes = await httpClient.GetByteArrayAsync(parameters.FileGet); return File(imgBytes, "application/specialFormat", "File1.specialFormat"); At the moment I have to define my own filename. I' ve already seen the example at http:/

Microsoft Graph get filename

早过忘川 提交于 2020-07-23 16:06:45
问题 Currently stuck with getting the filename of a ressource from SharePoint online aka Office 365. Authentication and refresh token is from the Unified Api example aka Microsoft Graph. var authResult = await authContext.AcquireTokenByAuthorizationCodeAsync( ... var imgBytes = await httpClient.GetByteArrayAsync(parameters.FileGet); return File(imgBytes, "application/specialFormat", "File1.specialFormat"); At the moment I have to define my own filename. I' ve already seen the example at http:/

How to get the message size of Exchange Online using Microsoft Graph Api?

守給你的承諾、 提交于 2020-07-23 05:34:18
问题 I am using graph.microsoft.com to fetch the exchange online folders and messages. But I am not getting the size of the message and folders in the response. Is there any way to get the message size using the graph Api. Although the size of the attachments is returned in the response. Another problem I am facing is I am not able to fetch all the folders in a mailbox. I was able to fetch all the folders using Exchange Web Service. I have checked the permission level of the folders which were not

How to get the message size of Exchange Online using Microsoft Graph Api?

元气小坏坏 提交于 2020-07-23 05:33:17
问题 I am using graph.microsoft.com to fetch the exchange online folders and messages. But I am not getting the size of the message and folders in the response. Is there any way to get the message size using the graph Api. Although the size of the attachments is returned in the response. Another problem I am facing is I am not able to fetch all the folders in a mailbox. I was able to fetch all the folders using Exchange Web Service. I have checked the permission level of the folders which were not

How to get the message size of Exchange Online using Microsoft Graph Api?

这一生的挚爱 提交于 2020-07-23 05:32:29
问题 I am using graph.microsoft.com to fetch the exchange online folders and messages. But I am not getting the size of the message and folders in the response. Is there any way to get the message size using the graph Api. Although the size of the attachments is returned in the response. Another problem I am facing is I am not able to fetch all the folders in a mailbox. I was able to fetch all the folders using Exchange Web Service. I have checked the permission level of the folders which were not

Microsoft Graph Api Webhook subscription via Rest Api not working anymore

孤者浪人 提交于 2020-06-28 17:17:46
问题 I have a working application that receive email webhook events from MS-Graph Api. I noticed that I could not find the subscription back using the subscriptionId, I get a 404 error.I also cannot delete the subscription using the id. I investigated further and noticed that I cannot create new subscriptions anymore: The Application registered in Azure AD is a service-application (daemon) My application auto renews the subscriptions and every time it did that I get a 202 response, but somehow the

invalid_scope error AADSTS70011, Why I am getting this error

扶醉桌前 提交于 2020-06-28 05:59:26
问题 public string[] scopes1 = new string[] { "https://graph.microsoft.com/User.Read", "https://graph.microsoft.com/User.ReadWrite", "https://graph.microsoft.com/User.ReadBasic.All", "https://graph.microsoft.com/Mail.Send", "https://graph.microsoft.com/Calendars.ReadWrite", "https://graph.microsoft.com/Mail.ReadWrite", "https://graph.microsoft.com/Files.ReadWrite", }; public async Task<string> GetAccessToken2() { string url = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?";/

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

自作多情 提交于 2020-06-28 02:38:32
问题 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