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 / Saving existing mails ...
Power Automate
Unanswered

Saving existing mails of a shared mailbox to a sharepoint site

(1) ShareShare
ReportReport
Posted on by 15
Hi All,
Many thanks in advance, we have a requirement to move existing mails from a shared mailbox to a sharepoint site, with my limited knowledge, i have created a flow as seen below:
 
Get Emails(v3): Original mailbox(shared mailbox id), Top 25 email items with recurrence set to run once in a day
Create File OneDrive connector, when i use this connector i see files being created in the folder of Onedrive, but, i just see a file created with the name of the file being subject of mail. The file is actually empty.
When I use Sharepoint connector Create File, i do not see the file getting created 
 
What are the steps that i can be missing here? I even tried to use the Export Emails connector, but it simply never succeeds when the flow is triggered.
 
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,490 Most Valuable Professional on at
    In your Get Emails did you toggle the field for 'Fetch Only Unread Messages'?It defaults to yes. In that case it often won't return anything because someone has already read the messages.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    So let's back up a secon.
     
    Let's start with a very clear set of business process steps.
     
    You want to iterate through emails that already exist in a mailbox (it happens to be shared)
    You want to save Emails into a SharePoint folder
    --Do you mean the Attachments?
    --Do you mean the entire Email?
    --Do you want attachments to be saved "separate" from the email content
    ----Example: Folder A as the Email
    --------------Folder A-Attachments has the email attachments
     
    Is this really a 1 time thing or do you want it automated going forward?
     
    Lastly,

    Please, whenever you come to the forums it is crucial that since its a visual tool, with inputs and outputs, that you share all of your Flow(s), Apps etc, so we can see what it is doing, versus trying to decipher and guess based on the discussion. It just takes way too long that way.
  • nirishetty Profile Picture
    15 on at
    Hi @Michael E. Gernaey,
    The ask here is to save the entire email including the attachment in one place and not seperately. For now this is a onetime ask for one shared mailbox , but we are looking forward to automating such asks in future.
     
    My apologies for not including the actual flow here as i have done alot of changes while troubleshooting.
     
    @Pstork1 I did check for that field and in the shared mailbox we have alot of unread emails, so even if this is set to Yes ultimately the mail should show up, but as i mentioned it just creates dummy file with just the subject of the mail.
  • Pstork1 Profile Picture
    69,490 Most Valuable Professional on at
    Could you provide a screenshot of the flow and how you are creating the content to go in the file?

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard