web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unexpected file being ...
Power Automate
Answered

Unexpected file being created in SharePoint Folder - Save Email Attachment

(0) ShareShare
ReportReport
Posted on by 9

I am creating a flow for retrieving an attachment from Outlook and resaving that file in a SharePoint document library with a date added to the beginning of the file.  It saves the file as expected with the new date; however, it creates another file using my concat expression. 

 

Any assistance to get it to stop creating this 2nd file would be appreciated.  When I open the file it says File Contect.  Not sure if that's a typo or what.  Note - It was also creating additional files based on my email signature, but the Attachment are Inline "False" condition seemed to stop that.  

 

Thanks!

 

Screen Shot 3.png
Screen Shot 1.png
Screen Shot 2.png
Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Include the attachment name inside the Concat() function.  That's why its creating two files, because you are giving it two file name.s

  • chrisK2 Profile Picture
    9 on at

    I added the Attachments Name syntax inside the concat(), see pic below, and it is still producing that odd file.  Any other suggestions?  I included my logic for When a new email arrives (V3).  Thanks!

    Screen Shot 4.png
    Screen Shot 5.png
    Screen Shot 6.png
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Sorry, I don't see anything wrong with your flow.  I have no idea why that other file is being created.  I would suggest taking the Concat() formula and adding it to a Compose above the Create File action and then use that for the file name.  That way you can see exactly what the filename would be.

  • chrisK2 Profile Picture
    9 on at

    I took your suggestion for compose and it appears as it should with just the file name. Output attachments below.  All inputs and outputs look as expected, but it still created the extra file... I might just try rebuilding the flow from scratch.  Not sure what else to do.  

    Screen Shot 8.png
    Screen Shot 7.png
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    The only other thing I can think of is that you have another flow running with the same trigger that is creating the second file.  Otherwise I have no idea why you are getting two from that setup.

  • chrisK2 Profile Picture
    9 on at

    Omg.  Very embarrassing.  That is what it was.  Thank you for helping me troubleshoot.  

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard