outlook-restapi

Outlook REST API - getFolders not returning all folders

烂漫一生 提交于 2019-12-04 06:29:46
问题 I'm just getting started with the Outlook REST API. My baseline is the tutorial that uses node-outlook. First order of business is to retrieve all of the folders in my mail account. So I issue this REST request: GET https://outlook.office.com/api/v2.0/Me/MailFolders Instead of returning all of my folders, it only returns the "well known" folders: Clutter Deleted Items Drafts Inbox Junk Email Outbox Sent Items Trash Am I missing a query parameter or something that says, "no, really, all of

Read emails from exchange online (Office 365) through windows forms application

爱⌒轻易说出口 提交于 2019-12-04 02:41:11
I am trying to read emails from my O365 mailbox through a windows forms application. I want my application to read emails from O365 mailbox using my username and password. Is it possible to access the O365 api without registering the application on the Azure? (only using user credentials) I followed this article on msdn, https://msdn.microsoft.com/en-us/library/office/dn567668(v=exchg.150).aspx I have an issue in this line: result = context.AcquireToken(resourceId, ClientID, _returnUri); // parameters are no longer valid in this method Yes, you can do with with Exchange web service API . It is

How to send nested attachments?

心已入冬 提交于 2019-12-03 08:28:59
Stuck here writing JS code to send out an email via REST within a custom Outlook add-in. Scenario is following report \ \---- another message (item attachment) \ \------- attachment (file attachment) In words, I am sending a new report message which includes another message as an Item Attachment (that works fine). But now, the problem is that, when sending with another message that has attachments, then this fails. Opening the report which has the other message attached doesn't show the attachments. Query is POST https://outlook.office365.com/api/v2.0/me/sendmail Returns 202 Accepted Body is

Can't get all busy times of meeting rooms using the Office365 Calendar API

时间秒杀一切 提交于 2019-12-02 19:41:11
问题 Trying to fetch calendar events in order to allow a user to pick a time for a meeting where the attendees and the meeting room are available. We're using Outlook Calendar REST API v2 - findMeetingTimes: https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#FindMeetingTimes The request returns almost all of the events. For some reason events that were created by the user that executes the request are not included in the response. It means that the meeting room or

Post events to Microsoft Graph c#

匆匆过客 提交于 2019-12-02 18:13:47
问题 sorry for the multiple posts, I can't get a post request to Microsoft Graph to work, I'm following this documentation, I'm trying to create an event in https://graph.microsoft.com/beta/myDomain/users/myEmail/calendar/events I have a function and some helper classes to create the json object like so: List<ToOutlookCalendar> toOutlook = new List<ToOutlookCalendar>(); toOutlook.Add(new ToOutlookCalendar { Start = new End { DateTime = DateTimeOffset.UtcNow, TimeZone = "Pacific Standard Time" },

Getting 401-Unauthorized while getting photo using outlook REST API - java cliet

萝らか妹 提交于 2019-12-02 18:04:49
问题 I am trying to retrieve user photo using outlook REST API(https://msdn.microsoft.com/en-us/office/office365/api/photo-rest-operations#UserphotooperationsGetphoto) I got the access token following (https://msdn.microsoft.com/en-us/library/azure/dn645543.aspx) but getting this error : any help? HTTP/1.1 401 Unauthorized [Content-Length: 0, Server: Microsoft-IIS/8.0, request-id: 6925fcab-9021-4059-af4b-4cbf130faea7, X-CalculatedBETarget: CY1PR0401MB1388.namprd04.prod.outlook.com, X

Can't get all busy times of meeting rooms using the Office365 Calendar API

一世执手 提交于 2019-12-02 11:00:34
Trying to fetch calendar events in order to allow a user to pick a time for a meeting where the attendees and the meeting room are available. We're using Outlook Calendar REST API v2 - findMeetingTimes: https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#FindMeetingTimes The request returns almost all of the events. For some reason events that were created by the user that executes the request are not included in the response. It means that the meeting room or attendee seem as FREE even though they have an event in their calendar. Here's a sample request with only

Post events to Microsoft Graph c#

一世执手 提交于 2019-12-02 10:17:55
sorry for the multiple posts, I can't get a post request to Microsoft Graph to work, I'm following this documentation , I'm trying to create an event in https://graph.microsoft.com/beta/myDomain/users/myEmail/calendar/events I have a function and some helper classes to create the json object like so: List<ToOutlookCalendar> toOutlook = new List<ToOutlookCalendar>(); toOutlook.Add(new ToOutlookCalendar { Start = new End { DateTime = DateTimeOffset.UtcNow, TimeZone = "Pacific Standard Time" }, End = new End { DateTime = DateTimeOffset.UtcNow, TimeZone = "Pacific Standard Time" }, Body = new Body

Office365 Unified API, get calendar ID from Events ID

空扰寡人 提交于 2019-12-02 08:24:59
Every Event belongs to a Calendar, so when I receive a webhook from Outlook API management about a calendar event, I expect to also receive the container ID of this Events, but no. I get very little information about this calendar event, but still there is an ID. The problem how to get the ID of the calendar itself that holds this event? I use unified API for querying this, and all I get so far is GET https://graph.microsoft.com/beta/me/Events/< ID > But guess what, nowhere inside this response do I find the calendar ID. < sick > Can anyone tell me how to retrieve the calendar ID from an Event

Microsoft Graph API Shared Calendar IDs inconsistent between users

纵饮孤独 提交于 2019-12-02 06:25:05
问题 My application allows users to schedule events on shared calendars and allows other users to potentially reschedule or cancel those events. I ask for the Calendar.ReadWrite.Shared permission to enable this. It appears that if two users have access to a shared calendar, the ID value returned from the GET /me/calendars is different for the two users. Is there a consistent, unique ID value that can be used to correlate shared calendars across users? 回答1: Unfortunately there is not a unique ID