Unable to create event throught Graph API using microsoft exchange 2019 with full hybrid

Mahesh Venkatashamappa 1 Reputation point
2022-06-24T11:41:28.717+00:00

Post : https://graph.microsoft.com/v1.0/me/events with a token generated getting below issue

{
"error": {
"code": "RequestBodyRead",
"message": "The property 'subject' 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/.",
"innerError": {
"date": "2022-06-24T08:46:29",
"request-id": "e000f260-3cea-4516-b5e3-dd1bff8ff6b8",
"client-request-id": "e000f260-3cea-4516-b5e3-dd1bff8ff6b8"
}
}
}

Community Center | Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,536 Reputation points Moderator
    2022-06-25T00:09:28.017+00:00

    Hello @Mahesh Venkatashamappa , please ensure you have a valid Microsoft 365 or Exchange Online license assigned for the target user. If you do and the problem persist, please come back with new response/debugging information.

    Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it and complete the quality survey so that others in the community with similar questions can more easily find a rated solution.


  2. Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator
    2022-07-13T17:14:12.363+00:00

    Note This is going away in March 2023 :https://techcommunity.microsoft.com/t5/exchange-team-blog/the-end-of-the-rest-api-for-on-premises-mailboxes-preview/ba-p/3221219

    I've seen other posts from people seeing issues as well so not sure if everything is still working as expected.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.