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 / Get Emails V3: ErrorIn...
Power Automate
Unanswered

Get Emails V3: ErrorInvalidMailboxItemId | message doesn't belong to the targeted mailbox

(0) ShareShare
ReportReport
Posted on by 11

Hi, I'm using the Get emails v3 action in power automate to get the sent emails form a particular mail box using subject filter and trying to store them as EML file. The issue is when I hardcode the email id in the original mail box field, the flow is working fine but when i try to replace it with environment variable or other local variables it is showing the following error. If I manually enter the original mail box mail id it is working fine . Please help me with this error.

 

YugesRaj001_0-1713417976918.png

 

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

    Hi , @YugesRaj001 

    According to your description, when you manually put the parameter it can work. Can you share the screenshot where the  email id in the Get emails v3 action you put?

     

    vyueyunmsft_0-1713419378041.png

     

    Best Regards,

    Yueyun Zhang

  • YugesRaj001 Profile Picture
    11 on at

    Hi @v-yueyun-msft Thank you for your reply. If I try to add the mail id in the high lighted area manually by typing it is working fine. If I use the environment variable with the same mail id it is showing error and specifically it is not working for sent items folder.

    YugesRaj001_0-1713420314839.png

     

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @YugesRaj001 

    Can you see the flow run history to check if the input parameter is different in your side?

     

    Best Regards,

    Yueyun Zhang

  • YugesRaj001 Profile Picture
    11 on at

    Hi , @v-yueyun-msft yes I have checked the input parameter is same .

     

    Best Regards

    YugesRaj

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @YugesRaj001 

    This is strange ...

    Sorry for that i can not help you solve the issue.I suggest you create a support ticket for professional assistance following the below procedure.

    Get Help + Support - Power Platform | Microsoft Docs

     

    Best Regards,

    Yueyun Zhang

  • CU04122320-0 Profile Picture
    2 on at
    @YugesRaj001 Did you get this to work? Getting same error...

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard