Search code examples
outlookwso2microsoft-graph-apiwso2-enterprise-integratorwso2-esb

To get unread email from MS Outlook connector in wso2 ei 6.5.0


I am trying to get Unread email from outlook Inbox by using outlook connector in WSO2 EI 6.5.0. In Microsoft Graph Documentation it can be possible by using Query param. When i checked the same in WSO2 Documenation there is no way to give filter option.

<outlookmail.getMessageCollectionFromFolder>
            <folderId>Inbox</folderId>
            <q>isRead:false</q> // this option only in gmail connectior            
</outlookmail.getMessageCollectionFromFolder>

Is there any possibilities to achieve this? Or Connector needs to be upgraded?


Solution

  • That is because WSO2 Outlook connector is based on Outlook REST API which, as you see is deprecated. This connector is not made for handling Microsoft Graph API and won't work.