I am new to EWS and want to find a way to subscribe EWS notification.
I build an Outlook Add-in and use Microsoft Graph API to subscribe and handle notifications for Microsoft 365 if the customer's calendar has some changes from Microsoft Graph REST APIs for mail, calendars, and contacts. But Exchange server doesn't support graph API.
Also, i read some Microsoft Documents, like Notification subscriptions, mailbox events, and EWS in Exchange. It menstions Streaming notifications. The workflow is from Service callback tokens. It's not very good as Graph API which will send the notification automatically.
So, i want to ask whether Microsoft has similar solution for Add-in on Exchange or not.
Your question is all over the place.
If you’re creating a new application at this moment I would suggest to leave EWS for what it is, and focus on Graph. My guess is that EWS won’t be around for long anymore. An other reason to use EWS is if you want to connect to on-premise Exchange servers.
Graph has support for notifications, but it’s not a connection that stays open. It works by registering a public available “callback” to which updates will be posted.