Overview
The error "Exception was thrown during polling emails subscription. Connector will perform direct polling and recreate subscription for this mailbox. Thrown exception: Microsoft.Exchange.WebServices.Data.ServiceResponseException: The specified subscription was not found." occurs when the Exchange EWS subscription is temporarily lost, causing the connector to enter direct polling mode. This can lead to ambiguous folder resolution if duplicate folder names exist, resulting in incorrect email synchronization. The issue was identified as a transient event, not an ongoing connector malfunction.
Solution
Follow these steps to resolve the issue:
-
Ensure Unique Folder Names:
- Use distinct folder names for CRM synchronization, such as "ACRM_Sync_Inbox", to prevent ambiguous folder resolution.
-
Avoid Nesting Folders with Identical Names:
- Ensure that no subfolders have the same name as the sync folder to avoid misinterpretation during direct polling.
-
Limit Mailbox Cleanup Rules:
- Avoid rules or maintenance tasks that delete, recreate, or move folders, as these can invalidate EWS subscriptions.
-
Monitor for Subscription Recreation Messages:
- Regularly check logs for repeated subscription recreation messages, which may indicate underlying Exchange issues.
Verification:
- After implementing the above steps, monitor synchronization logs to ensure no further incorrect synchronizations occur.
- Confirm that the folder structure is stable and unique as per the configuration.
Note: This behavior is consistent with the logged exception and does not indicate an ongoing connector malfunction. Adjusting folder naming and monitoring subscription events are key to preventing recurrence.
Frequently Asked Questions
- 1. How do I know if this error applies to my situation?
- You'll see the error message "Exception was thrown during polling emails subscription. Connector will perform direct polling and recreate subscription for this mailbox. Thrown exception: Microsoft.Exchange.WebServices.Data.ServiceResponseException: The specified subscription was not found." in your logs, indicating a temporary loss of the EWS subscription.
- 2. What should I do if I encounter this error again?
- Ensure your folder names are unique and not duplicated within the mailbox hierarchy. Monitor for repeated subscription recreation messages and review your connector configuration for any discrepancies.
- 3. Can I prevent this issue from happening in the future?
- Yes, by using unique folder names, avoiding nesting folders with identical names, limiting mailbox cleanup rules, and monitoring for subscription recreation messages, you can reduce the likelihood of this issue recurring.
Priyanka Bhotika
Comments