TechBuzzPro

How to Export Outlook SharePoint Power Automate

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Exporting data from Outlook and SharePoint using Power Automate means building a flow that copies items—such as emails, attachments, or list entries—to a file or another location. There is no single built-in “export” button that covers both services at once, so you create a flow in Power Automate that triggers on new Outlook emails or SharePoint items and writes the data to Excel, CSV, or a SharePoint document library. Before you start, confirm you have a Power Automate account (a free account works for many connectors), access to the Outlook mailbox and SharePoint site you want to use, and the necessary permissions to read from and write to those locations.

What You'll Need

  • A Microsoft account with access to Power Automate (office.com or flow.microsoft.com).
  • An Outlook mailbox (work or school account recommended for full connector support).
  • A SharePoint site with at least read access to the list or library you want to export.
  • Permissions to create flows and, if writing to SharePoint or OneDrive, permission to create files there.
  • Optional: Excel or a CSV viewer to open the exported file.

Menu labels in Power Automate, Outlook, and SharePoint can differ slightly by version, device, or region. The steps below use the web versions, which are the most consistent.

Step-by-Step

  1. Sign in to Power Automate. Go to flow.microsoft.com and sign in with the same account that has access to your Outlook mailbox and SharePoint site.
  2. Create a new flow. Select Create from the left menu, then choose Automated cloud flow. Give it a name like “Export Outlook to SharePoint” and skip the trigger selection for now (you will add it next).
  3. Choose a trigger. In the flow designer, click the trigger card and search for the Outlook connector. Common triggers are When a new email arrives (for ongoing export) or When an email is flagged (for on-demand export). For SharePoint, use When an item is created or When a file is created. Pick the one that matches your goal.
  4. Configure the trigger. Sign in to the connector if prompted. Select the folder (for Outlook) or site and list (for SharePoint) you want to monitor. Set any filters, such as “only with attachments” or “from a specific sender.”
  5. Add an action to export the data. Click New step and search for the destination you want. To export to Excel, use the Excel Online (Business) connector and the action Add a row to a table. To export to CSV, use the Create file action in OneDrive or SharePoint and build the CSV content with dynamic fields. To copy emails to a SharePoint library, use Create file in SharePoint and map the email subject, body, and attachments.
  6. Map the fields. In the action, click each field and select dynamic content from the trigger—for example, Subject, From, Received Time, or Attachments. For attachments, you may need a separate Apply to each loop and a Get attachment action before saving the file.
  7. Test the flow. Click Save, then Test. Choose Manually and trigger the flow by sending a test email or creating a test SharePoint item. Check the run history for errors and confirm the file appears in your destination.
  8. Turn on the flow. Once the test succeeds, ensure the flow is turned on. It will now run automatically when the trigger condition is met.

Common Mistakes

  • Using the wrong account. Power Automate connections are tied to the account you sign in with. If you cannot see your SharePoint site, you may be signed in with a personal account instead of a work or school account.
  • Forgetting attachments. A simple “create file” action exports only the email body. Attachments require a separate loop and a Get attachment action.
  • Not setting a table. The Excel action Add a row to a table requires an existing table in the workbook. Creating a blank workbook without a table will cause an error.
  • Ignoring permissions. If the flow fails with an authorization error, check that your account has write access to the SharePoint library or OneDrive folder.
  • Triggering too broadly. A flow that runs on every email can hit service limits. Use filters or conditions to narrow the trigger.

Tips

  • Use Conditions or Filter array to export only specific emails or items, reducing clutter and run counts.
  • Name your flows clearly and add comments to actions so you remember what each step does.
  • For large exports, consider using the Recurrence trigger to run a scheduled flow that pulls data in batches rather than on every new item.
  • Test with a dedicated folder or list first to avoid mixing test data with real data.
  • Keep a copy of the flow’s run history for troubleshooting; it shows the input and output of each step.

Troubleshooting

If the flow does not run, first check that it is turned on and that the trigger is correctly configured. Look at the run history for error messages—common issues include expired connections (re-authenticate the connector), missing permissions (ask your SharePoint admin), or a table that does not exist in the target Excel file. If the flow runs but the exported file is empty, verify that the dynamic content fields are mapped correctly and that the trigger is actually firing (send a test email). For attachment export failures, ensure the Get attachment action is inside an Apply to each loop and that the attachment name is unique. If you hit service limits, reduce the trigger frequency or add conditions to skip unnecessary items.

Frequently Asked Questions

Can I export all my Outlook emails to SharePoint at once?

Power Automate works on triggers, so it exports new items as they arrive. To export existing emails, you would need to run a flow manually or use the Outlook export feature to a PST file and then upload that file to SharePoint.

Do I need a paid Power Automate plan?

Many connectors, including Outlook and SharePoint, are available with a free Power Automate account, but some premium connectors and higher run limits require a paid plan. Check the connector documentation for details.

Why does my flow fail when adding a row to Excel?

The most common cause is that the target workbook does not contain a table. Open the workbook in Excel, select the data range, and insert a table (Insert > Table). Then point the flow to that table.

Can I export SharePoint list items to Outlook?

Yes. Use a SharePoint trigger such as When an item is created and an Outlook action like Send an email to notify or forward the item details. This is the reverse of exporting Outlook to SharePoint.

How do I export attachments separately?

Add an Apply to each loop over the Attachments field, then use the Get attachment action and a Create file action to save each attachment to a SharePoint library or OneDrive folder.

What if my flow stops working after a password change?

Connections may expire. Go to the flow’s connection settings and re-authenticate the Outlook or SharePoint connector with your new credentials.