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 / MessageID vs Internet ...
Power Automate
Answered

MessageID vs Internet Message ID

(0) ShareShare
ReportReport
Posted on by 17

Is it possible to retrieve an email using the Internet Message Id?

 

The Outlook 365 GetEmail activity is expecting only base64 message Id. But if we pass the Internet Message ID, it’s not working.

 

Any ideas on how to use the Internet MessageId to retrieve an email in PowerAutomate?


Sample MessageID: AAMkADVhYzUxZGNlLTFiZWUtNDUxNy04OTViLTkxOGU4MmNhMzU1ZQBGAAAAAAAG-7sUteXBTbOdWmKBIyIGBwB2ZjvBnueWRJLkbMWN0T93AAAIU8CnAAB2ZjvBnueWRJLkbMWN0T93AADsmvqiAAA=

 

Sample Internet Message ID:

PH0PR12MB5631C2957AA1436A514FADF9FE389@PH0PR12MB5631.namprd12.prod.outlook.com

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,079 on at

    Try to use a GRAPH request to retrieve an email by Internet Message ID

  • BharathiRaja Profile Picture
    17 on at

    Thanks for the suggestion. I tried that approach as well. MSGraph also needs the base64 message id only.

     

    Please see the sample in this MSDN 

    https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http

     

  • VictorIvanidze Profile Picture
    13,079 on at

    Are you saying you cannot create a GRAPH request that retrieves a message(s) by Internet Message ID?

    Could you show your request?

  • BharathiRaja Profile Picture
    17 on at

    Yes Victor. When we pass the Internet Message ID, getting "ID is malformed". Same place when we provide the base64 value, email is getting retrieved fine

     

    BharathiRaja_0-1667815146359.png

     

  • Verified answer
    VictorIvanidze Profile Picture
    13,079 on at

    You have to execute a query to find a message ID  by Internet Message ID.

    Play a bit with GRAPH explorer. 

  • Verified answer
    VictorIvanidze Profile Picture
    13,079 on at

    Here is a sample request:

    https://graph.microsoft.com/v1.0/me/messages/?$filter=internetMessageId eq '<149e8f07-9f89-4597-8160-e54aca3fc8c1.1668060251005@powerusers.microsoft.com>'
  • charancogoport Profile Picture
    11 on at

    I am unable to see the content. it is giving success resopnse but it is not giving any kind of output. could you please tell me how can i get the output(complete details of the email when we hit this url)

  • VictorIvanidze Profile Picture
    13,079 on at

    Show what you see after executing a GRAPH request.

  • charancogoport Profile Picture
    11 on at

    I am getting this..

    I want subject, body, sender etc... for that email

    Screenshot 2023-01-24 at 3.37.04 PM.png
  • VictorIvanidze Profile Picture
    13,079 on at

    It just means there are no a message with this id. Check the id.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard