Forum Discussion

nabeleon94's avatar
nabeleon94
New Contributor
5 years ago
Solved

Connecting to shared Mailbox Error

Hello, I am trying to connect to the mailbox and it keep giving me this error. I can connect to the mailbox using outlook without any issues. Any help will be appreciated.

  • ptaylor's avatar
    ptaylor
    4 years ago

    Thanks, Jens. The image of your pipeline is too low-res for me to be able to read the snap names. But I think I’m hearing that the crux of the problem is that your SQL Select returns multiple records so you’re trying to deal with that in your Ultra pipeline.

    The key to doing that is to use a child pipeline and move the SQL Select to that pipeline, along with whatever snaps are needed to aggregate those multiple documents and return a single document as the result of the child pipeline. Then in the parent, do any additional processing needed on that child output document to create a single response document for this request. This works because a new instance of the child pipeline is created for every request, so you can use aggregating snaps there that you can’t use in the root Ultra pipeline. Make sense?

5 Replies

  • Why are you setting the disable plain auth property? Does removing it have a different result? There is a debug property (mail.debug.auth: true) that might help explain what’s failing (be careful to not paste sensitive data here).

    • mbowen's avatar
      mbowen
      Employee

      I assume IMAP has been enabled for Outlook account.

    • nabeleon94's avatar
      nabeleon94
      New Contributor

      Removing ‘disable plain auth property’ it causes error saying ‘Failed to validate account: Failed to connect the email server: outlook.office365.com Cause: AUTHENTICATE failed. (Reason: AUTHENTICATE failed.; Resolution: Please check for valid properties.)’

      • mbowen's avatar
        mbowen
        Employee

        Authentication failure suggests invalid credentials (email id or password). I assume you have verified these. You mention that you are able to login to this account. Is multi-factor authentication setup for this account? That might cause problems too. Adding the debug property may help.