Graph API Calendar return 404 not found

Harry Huang (Crystal Group) 1 Reputation point
2021-06-22T10:44:55.847+00:00

![108115-image.png]1

This is Exchange on-premises server mailbox account, and it does not have an Exchange Online mailbox. I suppose the API can work in hybrid deployments?

*If I use another O365 account to login and try to get this mailbox schedule via "/calendar/getSchedule", it works.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,496 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,871 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 94,521 Reputation points MVP
    2021-06-22T11:27:32.197+00:00

    In order for the Graph to be able to access on-premises data, you need to configure integration as detailed here: https://learn.microsoft.com/en-us/graph/hybrid-rest-support#requirements-for-the-rest-api-to-work-in-hybrid-deployments