outlook-calendar

Microsoft Graph - Error when subscribing to calendar notifications

跟風遠走 提交于 2019-12-11 17:49:09
问题 I was trying to set up a subscription to the notifications of one of my calendars, but am getting the following error: { "error": { "code": "ExtensionError", "message": "Operation: Create; Exception: [Status Code: NotFound; Reason: Not Found]", "innerError": { "request-id": "XXXXXXXXXXX", "date": "2018-07-13T13:32:37" } } } I believe the request is correct: { "changeType": "created,updated,deleted", "notificationUrl": "https://(...)/outlook/notifications", "resource": "me/calendars/{calendar

Can I sync calendar events with the Microsoft Graph API?

谁都会走 提交于 2019-12-10 18:19:41
问题 I'm working with the Microsoft Graph api to try and sync calendar events from Outlook. I was looking at this article concerning the Outlook api, which suggested I add the header odata.track-changes to my request and I would receive a deltaToken , which I could use on a later request to fetch only those events which had been updated or created since the last sync. I have been successful fetching events, but I'm not getting a deltaToken back :/ Is this only supported in the Outlook api? Graph's

How can I programmatically cancel an outlook meeting with asp.net VB?

丶灬走出姿态 提交于 2019-12-03 21:23:47
问题 I can programmatically create a meeting request that is sent to the user through code and appears in Outlook mail where the user can accept the request and if accepted the appointment shows on their Outlook calendar. but am having trouble figuring out how to programmatically cancel the same event. The below code is what I am using to send the meeting invitation. It works as should and sends the request to the recipient and they can accept or decline. If accepted the appointment goes on their

setting event organizer with Outlook Calendar REST API

那年仲夏 提交于 2019-12-01 12:09:04
I am using the Outlook REST API for creating events and sending its invitations, based on this documentation I authenticate the logged in user, and send its Bearer token through the Authorization header of the request, and the json-formatted event on its content. If I set the "Organizer" to another user rather than the authenticated one, as well as the "IsOrganizer" property to "false", it gets totally ignored and sets the current logged in user as the organizer. Any clues of what could be happening? Is there another way of doing this? Thank you! This is the correct behavior. You cannot create

setting event organizer with Outlook Calendar REST API

◇◆丶佛笑我妖孽 提交于 2019-12-01 09:54:20
问题 I am using the Outlook REST API for creating events and sending its invitations, based on this documentation I authenticate the logged in user, and send its Bearer token through the Authorization header of the request, and the json-formatted event on its content. If I set the "Organizer" to another user rather than the authenticated one, as well as the "IsOrganizer" property to "false", it gets totally ignored and sets the current logged in user as the organizer. Any clues of what could be

OAuth grant flow - tokens expiration

为君一笑 提交于 2019-12-01 09:07:11
I'm developing an Android app that uses Outlook Calendar REST API. I'm trying to keep in synch and updated the calendars of multiple users (meeting rooms). My questions are: 1) After how long does the initial authorization code expires? 2) And for the refresh token instead? The access token expires after 60 mins. I can't get if for the refresh token expires after 6 hours, 14 days or 90 days. 3) Is the latter configurable? Can I make it not expire? ` UPDATE: (from https://msdn.microsoft.com/en-us/library/azure/dn645542.aspx ) "The lifetime of the refresh token is not provided and varies based

OAuth grant flow - tokens expiration

一笑奈何 提交于 2019-12-01 06:22:13
问题 I'm developing an Android app that uses Outlook Calendar REST API. I'm trying to keep in synch and updated the calendars of multiple users (meeting rooms). My questions are: 1) After how long does the initial authorization code expires? 2) And for the refresh token instead? The access token expires after 60 mins. I can't get if for the refresh token expires after 6 hours, 14 days or 90 days. 3) Is the latter configurable? Can I make it not expire? ` UPDATE: (from https://msdn.microsoft.com/en

Microsoft Graph API: can't list recurring events of a meeting room

和自甴很熟 提交于 2019-12-01 04:36:36
I'm building a Ruby on Rails app where the events within an organization are grouped & shown by the meeting rooms using the Microsoft Graph API with the app only authorization flow described in the below link. http://graph.microsoft.io/docs/authorization/app_only I am using the following request to list the events of a meeting room https://graph.microsoft.com/v1.0/users/<meeting room email>/events But the thing is that not all the events are being listed for the upcoming weeks and I suppose those are the recurring events. Is there any way to include the recurring events into the results. I'd

Microsoft Graph API: can't list recurring events of a meeting room

夙愿已清 提交于 2019-12-01 02:15:27
问题 I'm building a Ruby on Rails app where the events within an organization are grouped & shown by the meeting rooms using the Microsoft Graph API with the app only authorization flow described in the below link. http://graph.microsoft.io/docs/authorization/app_only I am using the following request to list the events of a meeting room https://graph.microsoft.com/v1.0/users/<meeting room email>/events But the thing is that not all the events are being listed for the upcoming weeks and I suppose

Get user calendar using OutlookClient

冷暖自知 提交于 2019-11-29 17:58:41
I'm using Outlook-SDK-Android ( https://github.com/OfficeDev/Outlook-SDK-Android ) to talk with Outlook Calendar REST API ( https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations ). So far I've been able to get the events on my own calendar using: import com.microsoft.services.outlook.fetchers.OutlookClient; OutlookClient mClient; ... mClient = new OutlookClient(outlookBaseUrl, mResolver); ... mClient.getMe() .getCalendarView() .addParameter("startDateTime", startDate) .addParameter("endDateTime", endDate) .read() This corresponds to " https://outlook.office.com/api/v2