Forum Discussion

Emmanuel_Abram_Profeta's avatar
Apr 16, 2020

Receive email with O365Mail fails with invalid filter clause

Originally posted on the MSDN forum. Adding it here for greater visibility.

 

Question:

I'm using BizTalk Server 2016 With Feature Pack 3 CU7 and try to read email from an Office 365 mail account. Regardless of what settings I use in the general tab on the Office365 Outlook Email transport Properties I'm not able to read any email. In the Application log this warning Message is written: The adapter "Office365 Outlook Email" raised an error message. Details "An Office365 error occurred: Error code: BadRequest. Details: Invalid filter clause. ".

 

1 Reply

  • Sandroasp's avatar
    Sandroasp
    Copper Contributor
    Just a side note regarding the availability to send emails by BizTalk Server. I know that the SMTP adapter is supposedly deprecated, and Office 365 adapters should replace it. Still, the problem is that Office 365 adapter, special the Office 365 Emal adapters, only accepts Outlook accounts, and if we try to send email using a Gmail account will not work.

    Is that difficult to add the SSL capability to the old SMTP adapter? or can you guys provide the source code so we can add this capability.

    it should be more or less like adding a line:
    SMTP.EnableSsl = True

Resources