Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Unable to extract email including sub folders by using outlook 365 input tool

prpanw
8 - Asteroid

Hi Folks,

I am using outlook 365 inout tool to extract underliverd email. Whithin mailbox there are multiple sub folders. If i clickon including sub folder it is throwing error however I am excluding sub folder then it is working fine.

Can someone help me about the error please ?

4 REPLIES 4
Alafiya
Alteryx
Alteryx

Hi @prpanw 

Some subfolders may be Shared or delegated (not owned by you)/ Have restricted access / Have corrupted metadata When "including subfolders" is selected, Alteryx attempts to scan every subfolder, and any failure in one causes the whole fetch to fail, or the folder contains a huge number of emails or is deeply nested, it may exceed API limits or timeout. Other reasons you can check is Subfolders contain calendar items, tasks, or non-email content or language or region mismatch, check these if issue persist then try below.

 

  • Try selecting subfolders one-by-one using “Excluding subfolders “This will help you identify the problematic subfolder Once identified Rename or move it,or exclude it from your workflow
  • Ensure your Alteryx version is up to date please Remove and re-add your Office 365 account in the tool, Refresh token and credentials.
  • For reliable runs: Avoid "Including all subfolders" unless you’ve tested each folder, use batch logic or a list of folder paths and loop with a macro to fetch emails one folder at a time

Let me know if this helps.

 

 

 

 

Alafiya
Alteryx
Alteryx

@prpanw 

Below are also the steps if you can check and this will help with resolution 

 

Below are additional checks you can perform if the initial workaround does not resolve the issue:

  • Verify Credentials: Ensure the username and password used to connect to the email server are correct.
  • Check Server Settings: Confirm that the SMTP server name, port, and security settings (SSL/TLS) are properly configured.
  • Firewall/Proxy Settings: If operating behind a firewall or proxy, verify that Alteryx has permission to access the email server. You may need to configure proxy settings within Alteryx.
  • Permissions: If accessing a shared mailbox, confirm that your account has appropriate permissions to access the mailbox and its subfolders.
  • Subfolder Path: Verify that the subfolder path you're specifying is correct and that the subfolder exists.
  • Try a Different Tool: Consider using a different email connector within Alteryx. The Outlook 365 Input tool, for example, may provide better compatibility with Outlook accounts.
  • Contact IT Support: If the issue persists, contact your IT support team for help with network, server, or permission-related troubleshooting.

 

prpanw
8 - Asteroid

@Alafiya  thank for below  but if i go one by one there are multiple sub folders. We can not assume that which folder has failure delivery itmes. 

Alafiya
Alteryx
Alteryx

@prpanw

I understand that checking subfolders individually isn't practical since there are multiple folders, and it's uncertain which one contains failed delivery items. In this scenario, a better approach is:

  • Ensure your Outlook credentials and permissions are correct.
  • Consider using specific search criteria in the Outlook 365 Input Tool to directly fetch "undelivered" or failure notifications, such as filtering by subject line or email type.
  • If this doesn't resolve the issue, the problem could be due to a limitation or specific settings in Outlook. Reinstalling the Outlook connector or contacting IT to check permissions and mailbox configuration would be the next steps.
Labels
Top Solution Authors