When should I use Outlook REST API vs Microsoft Graph API?

I am working on an application that needs to retrieve and edit calendar events from Outlook.com and Office 365. I have seen there are 2 options: Outlook REST API Microsoft Graph API They seem to...

Microsoft Graph APi not returning "Cancelled" Events

I am trying to get all the events in a Conference room's calendar with Microsoft graph API, given a startDateTime and endDateTime. I tried the following API's - 1....

Displaying Outlook Calendar Event information with Microsoft Graph

I have seen a few questions but can't quite work this out. I adjusted my code to include event information from each calendar: public void DisplayCalendarsList(bool bDetailed) { ...

Set own event id while creating event using microsoft graph API

I'm using Microsoft Graph API for integration of microsoft/outlook calendar and events. API Reference is here I want to specify my own custom id for event while creating an event with this rest...

Can't use application permissions (roles) to access Microsoft Graph API group calendar

My goal is to list the calendar events of an Office 365 group using the Microsoft Graph API. The endpoint used is https://graph.microsoft.com/v1.0/groups/{id}/events based on the documentation. ...

Office 365 API - Get meeting room location and capacity

I'm doing an integration of mobile app with the Office 365 Calendar. I want to show room capacity and location on the screen. I trying to find an API to get meeting room info (this info is...

Get recurrence data of sharepoint calendar events using microsoft graph api?

Is there a way to get recurrence information of sharepoint calendar events using the graph api? I can get the event fields using this endpoint but I could not figure out a way to get event...

Is it possible to create calendar events with attachments?

I want to create a calendar event using Microsoft Graph and this is working but unfortunately, I'm not able to add attachments to the event. The event is created but without the attachments. No...

Get free/busy information without authorizing full read permissions

I am looking to access free/busy information of several Microsoft Outlook users (on the same tenant) so that I can schedule some events for them. For this, I have several...

Notification for lifecycleEvent "subscriptionRemoved" not getting triggered by password change on Microsoft Graph API

I'm using the Microsoft Graph API to subscribe to notifications for calendar events through Node. Upon reading the documentation for best practices for Reduce missing subscriptions and...

CompactToken parsing failed with error code: 80049217 when using passport library to access Microsoft Graph API

I am using 'passport-azure-ad-oauth2' npm module, to get an access token, which I could then pass to the MS Graph API. passport.use(new AzureAdOAuth2Strategy({ clientID:...

Microsoft Graph API daemon - Error: ResourceNotFound Message: Resource could not be discovered

I'm trying to create a daemon using Microsoft Graph API v1.0. I've registered my app with application permission Calendars.ReadWrite and User.Read.All with granted admin consent. I get the access...

Microsoft GraphAPI 403 error getting users' events in SPfx app

I wrote a SharePoint SPfx Application hosted on SharePoint Online using the Microsoft GraphAPI to grab user profile information as well as calendar events. Per microsoft documents I declared my...

Error 550 5.7.708 when creating Calendar Events via the Graph API

When creating Calendar Events via the Graph API, the events are created correctly in the calendar of the organizer but the invites to the participants get bounced. The organizer gets a 'Delivery...

"Access to OData is disabled" error when making a Graph API call to a calendar

I have a demo integration running from ServiceNow to Office 365, everything was working fine last time I checked (it was a couple days ago). I have set it up in two ways (using two Auth...

Graph calendar change notification sent for series master when instance is edited

I have created a subscription to my Outlook calendar. When a specific instance of a recurring event is edited in Outlook, the notification that is sent to my notification url is for the series...

Create event with Microsoft Teams online meeting using Microsoft Graph Java SDK

Searching in the Microsoft Graph documentation, I found this: https://docs.microsoft.com/es-es/graph/api/user-post-events?view=graph-rest-1.0&tabs=java It says that you can create an event with an...

Receive validationToken but Subscription validation request timed out

Anyone can help me?. I want register subscription for user, i use ngrok. I try use postman it success but in my web it error. this is my log [2020-07-20 11:12:52] local.INFO: Error: Client error:...

Microsoft Graph API: Group Calendar Events created by API are not sent to users Calendar

When I create (or update) an Event in the Calendar from the Outlook Desktop Application every member of the group gets the Event in his personal calendar - (or according to the "Follow in Inbox"...

Why am I getting a 403 forbidden error when getting other user's calendar in a Microsoft Graph API call?

I ran into a problem with getting the conference room calendar in Microsoft Graph. By first I tried to simulate the request with Microsoft Explorer in a...

.NET 5.0 use JWT and OpenId Authorization

I have a web API that I authorize against custom JWT like this: services.AddAuthentication(x => { x.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme; ...

Getting error (java.lang.NoSuchMethodError: okhttp3.Request$Builder.tag) while posting event to microsoft graph

I am trying to hit the microsoft graph api for get and post methods. Java code: IGraphServiceClient graphClient = ...

Does Microsoft Graph change notification always send UPDATED notification for CREATED events?

I'm using Microsoft Graph API change subscription to handle created/updated/deleted calendar events. I noticed that the API always sends at least one UPDATED notification for each newly CREATED...

Microsoft Graph API GET onlineMeeting via joinUrl

Current using Microsoft Graph API v1.0 to create onlineMeetings via POST /me/events. Reason being, if you create an onlineMeeting directly and add a user in the meeting, it doesn't create a...

Microsoft graph api attachment error of unable to deserialize

I have tried this i am able to create event but this error i am getting. body_json={ "@odata.type": "#microsoft.graph.fileAttachment", "name": "menu.txt", "contentBytes":...

Microsoft Graph API (Calendar) Intermittent 503 Errors

This code sometimes works, but frequently runs for ~20s then fails with the "503 Service Unavailable" message when I call getPage(). The authentication/token request seems to be working fine. I...

Deleting an event returns success but not worked actually

I am trying to delete an event using Microsoft Graph API. My issue is that I couldn't delete an event even the response returns success. (regarding the official doc, success returns null) My...

How to subscribe to Microsoft Graph change notifications in a separate ASP.NET endpoint using SDK

I have 2 ASP.NET Core sites: allow multiple users to sign in to the Microsoft Identity platform then cache their tokens in SQL Server load the tokens to subscribe and receive Microsoft Graph...

Can't retrieve outlook add-in custom properties from graph API

I need to save a custom property from my outlook add-in and retrieve the this value from graph Api. I followed MS documentation, this link and this one. I store the custom property with office.js...

Create readonly calendar event with Microsoft Graph API

We'd like to use Microsoft Graph API to create calendar events in order to sync the calendar events of our own application with the ones in Outlook. However, in our application, we have time...