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 / Pulling Message ID fro...
Power Automate
Unanswered

Pulling Message ID from Excel Onedrive

(0) ShareShare
ReportReport
Posted on by 12

Hey guys,

 

I am creating a flow that deletes emails based off of Message IDs that were pulled into a onedrive excel document from a previous flow. I have a column that marks rows for deletion and this section works properly, but I'm hitting a wall when I try to connect Message IDs to emails.

 

I tried using the Email ID/Name excel column as the input (Message ID from previous flow) for Get Email V2 and using the Message ID from it to find the email in the inbox to delete it with the Delete Email portion. 

 

This is planned to be a recurring flow that happens at night to clean up an inbox over night.

 

Any thoughts on what I'm missing here? Please see the attached image of the portion of the flow I am referring to.

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

    Hi @AmbitiousAlpaca 

     

    Please tell me what is the problem you are having?

     

    Best Regards,

    Levi

  • AmbitiousAlpaca Profile Picture
    12 on at

    Although I pulled an email's Message ID into an excel table, my flow breaks down when I try to reference the Message ID in my Get Emails V2 portion of the flow. I have not moved the emails from the main inbox so the Message ID should still be the same.

  • v-liwei-msft Profile Picture
    on at

    Hi @AmbitiousAlpaca 

     

    You can skip the get email step and directly refer to the dynamic content returned by Excel in the delete email.

     

    Best Regards,

    Levi

  • Verified answer
    AmbitiousAlpaca Profile Picture
    12 on at

    It seems that one of my dynamic content selections got messed up at some point. The Email ID column was not being pulled properly. In the original message you can see both "Email ID~1Name" and "Email ID/Name" and they were both supposed to be "Email ID/Name." Not sure what caused the / to change to a ~1, but that was the root cause of the problem. Also, thanks @v-liwei-msft for the tip on skipping the get email step.

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard