The property 'attendees' does not exist on type 'Microsoft.OutlookServices.Event' while create event in hybrid deployment

Олег Негрозов 6 Reputation points
2021-05-18T14:26:23.377+00:00

Give 400 error for post event in hybrid deployment of exchange for local mailboxes. For cloud mailboxes works all correst, so java code is correct.

Error message: The property 'attendees' does not exist on type 'Microsoft.OutlookServices.Event'. Make sure to only use property names that are defined by the type or mark the type as open type. REST APIs for this mailbox are currently in preview. You can find more information about the preview REST APIs at https://dev.outlook.com/.
POST https://graph.microsoft.com/v1.0/me/events
SdkVersion : graph-java/v3.2.0
SdkVersion : graph-java/v3.2.0
[...]
400 : Bad Request

Use microsoft-graph 3.4.0

All of requirements in https://learn.microsoft.com/en-us/graph/hybrid-rest-support#requirements-for-the-rest-api-to-work-in-hybrid-deployments are met

get calendar works correct to for all types of mailboxes (local and cloud)

Authorization Code Flow is used if it is important

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Frans 1 Reputation point
    2021-09-09T12:08:43.53+00:00

    Hi, any update on this issue? I am running into the exact same problem here.
    Creating events for online mailboxes works fine out of my application.
    Creating events for on-premise mailboxes works fine using the Graph Explorer
    Creating events for on-premise mailboxes does not work out of my application

    0 comments No comments

  2. Zijing Zhou 1 Reputation point
    2021-11-04T01:16:09.92+00:00

    any updates? we are encountering the same issue but only for some users