Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Issue with file type when uploading to sharepoint

(0) ShareShare
ReportReport
Posted on by 2

I'm attempting to automate the process of saving all received emails to Sharepoint.

 

My flow looks like this:

Trigger: Outlook, when a new email arrives

Action: Outlook, export email

Action: Sharepoint, Create file

 

In the Sharepoint Action I've selected the file content to be the body of the email exported from Action 1. However, when I open my sharepoint file location, all of the saved files are in the .file format. I need them to be saved in the .eml or .msg format.

 

Any advice?

  • sydblit Profile Picture
    2 on at
    Re: Issue with file type when uploading to sharepoint

    I'm using the field for the message's subject from the previous action. So I'm not specifying a file type in the naming convention... I didn't know that was possible. Should I be doing that?

  • Michael E. Gernaey Profile Picture
    40,375 Super User 2025 Season 1 on at
    Re: Issue with file type when uploading to sharepoint

    Hi

     

    What are you typing for the File Name? I see the content is being set, but can you share what you are assigning for the name please? Are you saying that you specific name XBX.msg but it calls it XBX.file anyway?
    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow