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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issues decoding .msg f...
Power Automate
Unanswered

Issues decoding .msg file using base64ToString()

(0) ShareShare
ReportReport
Posted on by

I am currently building a flow that should read the contents of a .msg file. This file is base64 encoded and when transferring the data held in this to an online base64 decoder I am returned the appropriate information however, when I use the base64ToString() expression in my power automate flow it returns this data in the following format:

 

(sample of data)

"

��\u0011ࡱ\u001a�\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000>\u0000\u0003\u0000��\t\u0000\u0006\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0010\u0000\u0000\u0002\u0000\u0000\u0000\u0007\u0000\u0000\u0000����

..."

 

using an online UTF16 decoder against this data returns this information in a string format where the details I require can be selected. Is there any way to achieve this entirely through a flow? or any reason why the base64ToString() expression is returning my original request in this format?

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @dmcvey :

    I am afraid that Power Automate does not have an out-of-the-box action that can parse the content of the msg file and return the text in the email body currently . If you need such a function, I suggest you look for a third-party connector or API, or go to the Ideal forum to post your suggestions.

    Best Regards,

    Bof

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard