Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Importing Email Attachments to SharePoint Not Working

(0) ShareShare
ReportReport
Posted on by

I built a simple flow that will look at the inbox of an account, look at the email attachment, and then take that attachment and import it into a SharePoint document library. 

 

Here is the issue: 

 

When the document uploads to SharePoint (.PDF) it does not allow me to view the file. 

 

Here is how the flow is built:

When a new emails arrives, it looks at the inbox.

next step is an apply to each for attachments.

Next is a SharePoint control to create a file in a SharePoint document library.

My site address is correct because it pulled in the folder I want to point at.

The File Name uses dynamic content for the name of the attachment

File Content is using the dynamic content "attachment ID"

 

As stated earlier, the flow runs as expected and the documents are there in the SharePoint library, but I cannot open or view the PDF files. I have both Adobe and Nuance applications on my computer for PDF viewing/editing. 

 

Please help if you know a resolution to this. 

 

Thank you, 

 

Cody Allison 

  • Community Power Platform Member Profile Picture
    on at
    Re: Importing Email Attachments to SharePoint Not Working

    Michael,

     

    I have verified my flow has the correct configuration and it stll will not fire. I have sent multiple emails to the inbox and it has not resolved the issue.

  • v-micsh-msft Profile Picture
    on at
    Re: Importing Email Attachments to SharePoint Not Working

    Hi Cody,

     

    No, Flow running frequency can't be managed through the Flow Design UI.

    If the Flow won't fire, things you need to check:

    1. Check the Mail trigger is well configured, including the Folder, and the Mail Account used,

    2. Then please wait a while (greater than the Interval) after Flow has been saved, then send one Email again.

     

    If that still can't help, please take a try to build another Flow to check, don't use the template, start from the actual trigger and Action.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    on at
    Re: Importing Email Attachments to SharePoint Not Working

    Michael, 

     

    Thank you for the reply. I have made the change as you suggested but now the workflow will not fire. I have sent multiple new emails with attachments to the account and the workflow has not run. Is there a way to change the frequency in which the trigger fires? I believe the default is every 15 minutes, but it has been an hour since I sent the first email and have sent multiple follow up emails and the trigger has not gone off since I made the change. 

     

    Thank you, 

     

    Cody Allison 

  • v-micsh-msft Profile Picture
    on at
    Re: Importing Email Attachments to SharePoint Not Working

    Hi @Anonymous,

     

    Please follow the template below to configure the Dynamic content:

    Save my email attachments to a SharePoint document library

     

    Just from your description, for the file content part, I think it should be configured with the 

    Content 

    (Attachment Content)

    67.PNG

     

    Regards,

    Michael

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,552 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow