outlook-restapi

editing an occurence in a recurrence event in outlook calendar

末鹿安然 提交于 2020-01-06 06:54:29
问题 I have edited only one event in a recurrence series. While I send a get request with delta token I will get the seriesmaster content, and the edited occurence with type exception My question is how do I patch these kind of events.what is the attribute to add the exception date 回答1: In order to create an exception, you would need to modify (via PATCH) the instance you want to become the exception. If you do: GET /me/events/{event-id-of-master}/instances?startDateTime={start}&endDateTime={end}

Microsoft Graph API BETA - retrieving calendar for event returns unexpected calendar [duplicate]

痞子三分冷 提交于 2020-01-06 01:55:07
问题 This question already has answers here : Office365 Unified API, get calendar ID from Events ID (3 answers) Closed last year . I ran into an issue when working with the Microsoft Graph API BETA version (https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/beta-overview) I retrieve event details by calling the API endpoint (https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/event_get#http-request) https://graph.microsoft.com/beta/me/beta/me/events/{id} which

“One or more scopes are not compatible with each other” error when retrieving access token for the

旧巷老猫 提交于 2020-01-06 01:31:49
问题 I have an app that integrated with Outlook, Calendar via the Azure AD REST API v.2. I have tried to use the incremental and dynamic scopes to "upgrade" the user's token so that the app can access OneDrive as well, (so the user could directly upload her email attachments in her cloud). The authorization code retrieval redirects went well and the user is asked for the additional scope after login (files.readwrite). However, on step 2 when I try to obtain the access token I get the following

Add custom headers and retrieive custom header using Microsoft Graph API

回眸只為那壹抹淺笑 提交于 2020-01-05 09:05:20
问题 I am currently using Microsoft Graph API to retrieve my email, send new email and answer to an email. I use Code Grant authorization to identify my user and access its information. PROBLEM This application let the user send email to our customers that have unpaid invoice. But the application uses GET https://graph.microsoft.com/v1.0/me/messages (with $search set to the customer email) to retrieve every mail that involves the customer, so the user can trace every conversation made by other

Recurrence.Range.StartDate / EndDate contain timezone offset

馋奶兔 提交于 2020-01-05 04:53:45
问题 Recurrence rule dates contain timezone offset where the calendar event "Start" / "End" fields are in UTC which seems incorrect behavior (Bug?). Did anyone knows why the "Recurrence.Range" "StartDate" / "EndDate" fields contains dates which are not UTC? Expected behavior is to receive UTC dates for all date fields in the calendar event object. { "@odata.id": "https://outlook.office365.com/api/v1.0/Users('EXAMPLEUSER')", "@odata.etag": "ETAG", "Id": "EXAMPLEID", "ChangeKey": "GnglO5JwUUGYx+QpS

Unable to set isOrganizerOptional parameter, in findMeetingTimes

前提是你 提交于 2020-01-03 02:25:08
问题 In using Microsoft Graph, I am unable to set the IsOrganizerOptional parameter. This code works: { "timeConstraint": { "timeslots": [ { "start": { "dateTime": "2018-01-11T10:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2018-01-11T11:00:00", "timeZone": "Pacific Standard Time" } } ]...} But, this code: { "isOrganizerOptional": true, "timeConstraint": { "timeslots": [ { "start": { "dateTime": "2018-01-11T10:00:00", "timeZone": "Pacific Standard Time" }, "end": {

Get notification from Microsoft Graph when deleting event occurrence

寵の児 提交于 2019-12-31 03:06:11
问题 I have subscribed to events ( https://outlook.office.com/api/v2.0/me/events ) push notification. When I delete one event of recurrence master event, I receive UPDATED notification with id of master event and not specific occurrence event id. How can I know which event was deleted without comparison with all previous recurrence events? And not receive only master id event. 回答1: When you "delete" and occurrence, you're technically not deleting an entity. You're actual adding an exception to the

'InvalidAudience' error returned when invoking Outlook REST API

风格不统一 提交于 2019-12-30 11:22:09
问题 We have a Web Add-in in Outlook that has the ReadWriteMailbox permissions. And we use following code to get REST Token successfully: Office.context.mailbox.getCallbackTokenAsync({ isRest: true }, function (result)) but we got 'InvalidAudience' error "error":{"code":"InvalidAudience","message":"The audience claim value is invalid \'https://outlook.sample.com\'"} when calling Outlook REST APIs against one specific mail server (e.g., https://outlook.sample.com). [https://outlook.office.com/api

Office365 API - Accessing another users/room's calendars

邮差的信 提交于 2019-12-30 00:58:12
问题 I'm attempting to build an application that will have access to all of an organization's calendars (users, rooms, etc). Currently my auth flow will sign in on behalf of a tenant user and make use of refresh tokens to access needed resources. As soon as I make a request to: https://outlook.office365.com/api/v1.0/users/{room-resource@email}/events My application is responded with a 401 From my gathering, it seems that this flow is limited to a single user's scope. Although the tenant admin

Trigger an external API call in Outlook replying to an email coming from a specific email-id

二次信任 提交于 2019-12-25 18:46:28
问题 I am trying to trigger an external API when i reply to an email coming from a specific sender. To describe the use case , we have an internal platform where people ask specific questions and experts answer them similar to stack overflow. We want to enable a outlook feature for experts answering questions which would enable the expert to reply to an email notification (coming from the platform) and when he hits send the action would be to call the POST end point for the platform which create a