An Office service that supports add-ins to interact with objects in Office client applications.
Hi @Nagrare, Sumit,
The key distinction is that Office.js can update the appointment item, but this does not mean that it can control the Scheduling Assistant UI. Microsoft documents enhancedLocation.addAsync as adding locations to an appointment in compose mode on clients that support Mailbox requirement set 1.8.
Microsoft documents support for Outlook add-ins in new Outlook for Windows, Outlook on the web, and classic Outlook for Windows. It also documents that add-ins can activate on appointments in read and compose modes. However, the published Office.js APIs and extension points do not identify the Scheduling Assistant as a separately programmable surface in any of these clients. This is consistent with the Microsoft engineering response in OfficeDev/office-js issue #5449, although I could not find a Microsoft article that provides an explicit client-by-client support statement specifically for the Scheduling Assistant. See Outlook add-ins overview
The following capabilities are also not documented in the current Office.js API:
- Refreshing or reloading the Scheduling Assistant.
- Detecting when the user enters or leaves the Scheduling Assistant.
- Requiring an already-open Scheduling Assistant to immediately reflect a change made through
enhancedLocation. - A public roadmap item specifically for Scheduling Assistant refresh, view detection, or other Office.js integration.
EnhancedLocationsChanged only indicates that the appointment’s location collection changed; it does not report which Outlook view is currently open. Therefore, the observed delay cannot be classified from the public documentation alone as either expected behavior or a confirmed product defect. Leaving and reopening the Scheduling Assistant is a manual workaround, not a documented Office.js refresh mechanism.
I hope you understand that this is a user-to-user support forum, and I am not part of Microsoft’s official support or engineering teams. I can only refer to publicly available documentation and cannot confirm internal design decisions or unpublished roadmap plans.
If you need Microsoft to determine whether the delayed update is expected for a specific client or build, please ask your Microsoft 365 administrator to open a support request and provide the affected client versions and builds, a minimal reproduction, the result of enhancedLocation.addAsync, and whether enhancedLocation.getAsync returns the new room while the Scheduling Assistant still displays the previous state.
Thank you so much for your understanding so far.