Skip to content

The open alternative to Salesforce, designed for AI.

Subscribe to created Outlook mail notifications only (#26569)

neo7730023d3d382fc
diff --git a/packages/twenty-server/src/modules/connected-account/webhook-subscription-manager/drivers/microsoft/microsoft-webhook-subscription.driver.ts b/packages/twenty-server/src/modules/connected-account/webhook-subscription-manager/drivers/microsoft/microsoft-webhook-subscription.driver.ts
index 780aca3257f..08ec516daef 100644
--- a/packages/twenty-server/src/modules/connected-account/webhook-subscription-manager/drivers/microsoft/microsoft-webhook-subscription.driver.ts
+++ b/packages/twenty-server/src/modules/connected-account/webhook-subscription-manager/drivers/microsoft/microsoft-webhook-subscription.driver.ts
@@ -33,7 +33,7 @@ const MICROSOFT_GRAPH_RESOURCE_CONFIG_BY_CHANNEL_TYPE: Record<
> = {
[WebhookSubscriptionChannelType.MESSAGING]: {
resource: '/me/messages',
- changeType: 'created,updated',
+ changeType: 'created',
notificationPath: `${ApiPath.Webhooks}/microsoft/messaging`,
},
[WebhookSubscriptionChannelType.CALENDAR]: {