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 / 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
    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
    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
    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

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard