microsoft-graph-calendar

Receiving 400s and 500s when attempting to get singleValueExtendedProperties

帅比萌擦擦* 提交于 2020-07-09 11:48:33
问题 trying to add extended properties to calendar objects. I am able to create calendars with the following payload (Ruby syntax, payload is sent as a JSON): name: build_calendar_name, singleValueExtendedProperties: [{ id: "String {#{SecureRandom.uuid}} Name setting_id", value: @setting_id.to_s }] I receive a 201 from this request and the calendar is created no problem The frustrating part is I cannot retrieve the extended property when making a GET request. The following two requests should work

Understanding Microsoft graph /getSchedule Api functionality

倖福魔咒の 提交于 2020-06-29 03:49:11
问题 I am trying to use graph /getSchedule api to check for meeting conflict. However I'm not quite about functionality and usage of request input field "availabilityViewInterval". My basic requirement is to pass a start and end dateTime and see if the resource is available(free/busy). Although I am able to get that in /getSchedule Api but not sure on some of the fields in request and response. "availabilityViewInterval" : This is a request field and is stated in document as optional but while

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

吃可爱长大的小学妹 提交于 2020-06-28 08:08:55
问题 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 online meeting using Java "Event" type. Code example But the problem is, when I tried to do it with the current last Microsoft Graph SDK version 1.7.1, I noticed that "event.isOnlineMeeting" and "event.onlineMeetingProvider" don't exists. Is it not implemented yet? Or I'm missing a new Microsoft

Why am I not getting notifications for changes on shared calendar events?

≡放荡痞女 提交于 2020-03-25 19:13:20
问题 I've successfully created a webhook subscription to listen for changes on a shared calendar (I got a 201 Created response back from the create subscription endpoint) with the following POST body: { "changeType": "created,updated,deleted", "notificationUrl": <my_https_app_webhook_url>, "resource": "/me/calendars/<calendar_id>/events", "expirationDateTime": "2020-03-06T12:30:27.606347+00:00", "clientState": <secret_token> } If I then create an event on that shared calendar with 1 attendee

Why am I not getting notifications for changes on shared calendar events?

社会主义新天地 提交于 2020-03-25 19:12:32
问题 I've successfully created a webhook subscription to listen for changes on a shared calendar (I got a 201 Created response back from the create subscription endpoint) with the following POST body: { "changeType": "created,updated,deleted", "notificationUrl": <my_https_app_webhook_url>, "resource": "/me/calendars/<calendar_id>/events", "expirationDateTime": "2020-03-06T12:30:27.606347+00:00", "clientState": <secret_token> } If I then create an event on that shared calendar with 1 attendee

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

狂风中的少年 提交于 2020-01-25 09:25:07
问题 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: process.env.OUTLOOK_CLIENT_ID, clientSecret: process.env.OUTLOOK_SECRET, callbackURL: '/auth/outlook/callback', }, function (accesstoken: any, refresh_token: any, params: any, profile, done) { logger.info('Completed azure sign in for : ' + JSON.stringify(profile)); logger.info('Parameters returned: ' + JSON.stringify(params))

Unable to subscribe to Microsoft Graph API Calendar is user has apostrophe in name

吃可爱长大的小学妹 提交于 2020-01-05 04:51:17
问题 We have an application set up in Office 365. The customer has given Admin Consent to Calendar.ReadWrite access for all users’ calendars in the tenant. Our web application is able to set up subscriptions for change notifications except for users with an apostrophe in their email address (i.e. John.O’Neil@nonwhere.com ) Subscription requests results in the following error: { "error": { "code": "ExtensionError", "message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason:

Expanding and Filtering MS Graph API Does Not Work

随声附和 提交于 2020-01-05 04:10:07
问题 I need to get an eventMessage from a user's mailbox that is associated with a specific event . I have the event's iCalUId but I am unable to filter on it: /users/${roomEmailAddress}/messages ?$expand=microsoft.graph.eventMessage/event($filter=iCalUId eq '${iCalUId}') What I am trying to do is get all messages, then expand so that I see the events associated with each message, then filter each event to find the one I care about. However, I get a response with all events and the filtering

Expanding singleValueExtendedProperty not working when retrieving Event details

谁说胖子不能爱 提交于 2019-12-22 20:43:30
问题 I am trying to retrieve custom property value for an event using Microsoft Graph. The custom property was created by an Outlook Office.js Add-ing Here is request /v1.0/me/events/{id}?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name myCusProp') This returns a successful response from Graph but it does not return the singleValueExtendedProperty . The Outlook add-in, however, is still able to retrieve the property value from the same Event.

Expanding singleValueExtendedProperty not working when retrieving Event details

两盒软妹~` 提交于 2019-12-22 20:43:01
问题 I am trying to retrieve custom property value for an event using Microsoft Graph. The custom property was created by an Outlook Office.js Add-ing Here is request /v1.0/me/events/{id}?$expand=singleValueExtendedProperties($filter=id eq 'String {00020329-0000-0000-C000-000000000046} Name myCusProp') This returns a successful response from Graph but it does not return the singleValueExtendedProperty . The Outlook add-in, however, is still able to retrieve the property value from the same Event.