Loading

‘All-day’ Events become 24-hour Events when synced with Lightning Sync and Einstein Activity Capture using EWS on the Microsoft side

Fecha de publicación: Jul 22, 2026
Descripción

When creating an all-day Event in Salesforce or Google/Outlook calendar, once the record completes a sync process using Lightning Sync and EAC with a Microsoft EWS endpoint the 'All-Day Event' check box will be unchecked on the event record in Salesforce. The Start value will be 12:00 AM of the current event day, and the End value will be 12:00 AM of the ensuing day. The Microsoft Outlook/Google Event maintains the 'All Day' property.


 

Solución

Expected Behavior with Lightning Sync / EAC Using Microsoft EWS

The behavior seen is working as designed for Lightning Sync/EAC using Microsoft's EWS API.
For an all-day Event created in Salesforce or Google/Outlook calendar having bi-directional sync, an all-day Event will be created on the counterpart system; however, upon full synchronization, the event in Salesforce will become a 24-hour event. The logic is designed this way due to the various email clients Exchange can communicate with. There are different properties that come with these events, and how each mail client treats all-day Events. In order to provide a consistent user experience, we treat these events as 24-hour Events.
As a result, the 'All-Day Event' checkbox will be removed from Salesforce Event's record, and the Start & End time will change to a 24-hour time span (12:00 AM of the date of the event, until 12:00 AM of the following day).

Updated Behavior After Migrating to Microsoft Graph (Spring '26 and Later)

After the Spring '26 release, the behavior is different if Einstein Activity Capture is migrated to use Microsoft Graph instead of the legacy Microsoft EWS. With Graph, Salesforce now uses the Midnight-Midnight block in UTC and passes the All-Day event flag, which allows Salesforce to correctly show all-day events on event records.
To take advantage of this improved behavior, migrate your Einstein Activity Capture configuration from EWS to Microsoft Graph via Setup.

See also:
Lightning Sync

How Your Events Sync with Lightning Sync

Migrate Microsoft 365 Authentication in Einstein Activity Capture to Microsoft Graph

Events and Einstein Activity Capture

Número del artículo de conocimiento

000382889

 
Cargando
Salesforce Help | Article