OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
641 stars 92 forks source link

Getting change notification for drafted New Event #4381

Closed som-cloudextend closed 1 month ago

som-cloudextend commented 1 month ago

We are getting change notification for default New Event event created by Outlook.

Your Environment

Expected behavior

We shouldn't receive change notification for the initial event created by Outlook.

Current behavior

We are getting a change notification every time someone trying to create an event. Outlook initially shows default values in the event create window. Title for initial event is New Event. User doesn't add any details to this event. Still Graph sends a change notification for it.

Steps to reproduce

  1. Create a subscription to events using Graph API
  2. Create new event in outlook desktop but don't enter anything
  3. We get a change notification for above event titled New Event

Context

We don't expect a change notification for the default event created by Outlook as there's no user changes. We also can't skip processing this event in the listener because there could be legitimate event titled New Event created by user. This behaviour is seen only in desktop applications. In OWA we don't get any such change notification. Attached the event create screenshot and the event details.

Useful logs

ajays-msft commented 1 month ago

This forum is limited to supporting office-js apis. For any MS API Graph specific queries and support, please explore options available at Microsoft Graph Dev Center | APIs and app development

som-cloudextend commented 1 month ago

Thanks, will raise this in other forum.