Skip to main content
Back to blog

Why won't Power Automate save Outlook or shared-mailbox attachments to SharePoint?

Most failures come from the trigger's attachment settings, a missing Get attachment step, mailbox permissions, or file name clashes. Here is the checklist.

Power AutomateOutlookSharePointshared mailboxautomation
By Josh Elberg•
Share:

When a flow will not save attachments to SharePoint, the cause is usually one of four things: the trigger is not set to include attachment content, the flow has no Get attachment (V2) step, the connection account lacks access to the shared mailbox, or SharePoint refuses a duplicate file name. Check them in that order.

How to tell if this is your problem

  • The flow runs but the SharePoint Create file step fails with 400 Bad Request.
  • The flow does not trigger for emails that have attachments, or skips some emails.
  • You get "apply_to_each contains invalid expression."
  • You get "The specified object was not found in the store" or "Default folder Inbox not found" on a shared mailbox trigger.
  • Create file fails because a file with that name already exists.
  • Logos or signature images show up as files.

Why it happens

Attachment content is off by default. Microsoft's troubleshooting article for the shared mailbox (V2) trigger says the attachment options default to No, because attachments can be large. With Include Attachments at No, the attachment content is null. A SharePoint Create file step fed null content fails with 400 Bad Request. Only with Attachments set to No means the trigger fires on all emails, with or without attachments.

The loop and the fetch step. Microsoft's connector page lists Get attachment (V2) with a message ID and attachment ID, and an optional Original Mailbox Address for a shared mailbox. In one community thread, the accepted answer was to use Get attachment (V2) together with Create file.

Large volumes can time out. For the "When a new email arrives (V3)" trigger, the connector page notes that setting Include Attachments to Yes can cause timeouts when many emails with attachments arrive at once, and recommends setting it to No on the trigger and adding Get attachment (V2) instead.

Shared mailbox access. The connection account, not the mailbox, signs in. In one Microsoft Q&A answer from a moderator, that account needs Full Access, and the steps for "Default folder Inbox not found" included opening the shared mailbox once in Outlook on the web with that account. The connector page adds that permission changes can take about two hours to replicate, that an Office 365 group address cannot be used as a shared mailbox address, and that one flow watches one mailbox.

Inline images. Attachment details include an Is Inline property, so signature images and logos can be told apart from real attachments.

File types and names. Microsoft lists file attachments as supported. Item attachments (including NDR emails) are not, and EML, MSG and ICS files must be in a zip to appear in trigger responses. Separately, a Microsoft Q&A thread describes Create file failing when a file with the same name already exists. The moderator's approach was to check the library for matching names first, and the asker noted the check must include the file extension.

How to fix it

  1. Open the trigger. Choose "When a new email arrives in a shared mailbox (V2)" for a shared mailbox, and type the full shared address in Original Mailbox Address.
  2. Show Advanced Options. Set Only with Attachments to Yes if you only care about emails with attachments. Microsoft's shared-mailbox article fixes empty attachment content by setting Include Attachments to Yes, which suits low volume. If heavy volume causes timeouts, set it to No and use Get attachment (V2).
  3. Loop over the attachments. Add Apply to each on the attachments list. Inside it, add Get attachment (V2) with the message ID, the attachment ID and the shared mailbox address.
  4. Skip inline images. Add a Condition on Is Inline equals false. In one community thread, a flow was not failing but taking the False path because only the True branch had actions, and a community member suggested adding a Compose in the False branch to see which way each item went.
  5. Create file. Use the attachment name for the file name and the content from Get attachment (V2).
  6. Handle name clashes. Before Create file, look for an existing file with the same name and extension. Then rename, skip, or notify. Decide that on purpose rather than letting the step fail.
  7. Check permissions on both sides. Confirm the connection account has Full Access to the shared mailbox. Check that the connection account can add files to the SharePoint library. Wait for replication, and recreate the connection if the error persists.
  8. Test with real mail. Send an email with two attachments and an image signature, and check the library for exactly the files you expect.

When to get help

Get help if the flow handles invoices, contracts or anything that cannot be lost, if you are watching several mailboxes, or if you cannot tell which emails were skipped. A flow like this should count what came in and what was saved, and flag the difference.

We offer automation that runs end to end with checks, and a fixed-fee audit when existing automations misbehave. If you would rather talk it through, book a call.

About the Author

Founder & Principal Consultant

Josh helps SMBs implement AI and analytics that drive measurable outcomes. With experience building data products and scaling analytics infrastructure, he focuses on practical, cost-effective solutions that deliver ROI within months, not years.

Related Posts

Microsoft's Excel Online (Business) connector reference lists no triggers at all. What to use instead to react to new rows, and what each option's limits are.

November 15, 2026

Duplicate records usually mean the trigger fired twice or a create step ran twice. How to find which one, and how to make the flow safe to repeat.

November 15, 2026

Make sends one email per bundle when there is no aggregator or its source module is wrong. How to spot which, and get one summary email.

November 15, 2026

Want this for your own business?

The AI Opportunity Audit is a fixed-fee review of one workflow or a multi-workflow operation: an AI readiness scorecard, prioritized automation candidates with build estimates and ROI math, and a 90-day rollout plan.

Scoped on a short fit call, then a fixed-fee proposal. No retainer.