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 / Item Id doesn't belong...
Power Automate
Answered

Item Id doesn't belong to the current mailbox

(8) ShareShare
ReportReport
Posted on by 40

Hopefully my final edit... @Anonymous alerted us that Microsoft has added a "Mailbox Address" field to Outlook actions. You can enter the address of the shared mailbox in this field to get back to original functionality. I'm keeping all previous solution details below just in case.

 

I've accepted the solution provided by @Anonymous on page 3. As a note for future users running into this issue, this solution requires a premium account. This will not be the best solution for a number of users (myself included), but it's the Microsoft-supported fix and (hopefully) the least likely to fail in the future. 

 

For more information on the Graph API solution, check the posts by @jonathanford on pages 5 and 6. 

 

If you do not have a premium account, the solution on page 3 offered by @Mindaugas is your best bet. You will need to add a new connection to Flow for the shared mailbox and then select that account as the connection for your Flow step. @RHCC gives more details on page 4 - you will also most likely need to add a password to the shared mailbox which is not intuitive. 

 

This is by far the easiest solution, but I'm concerned how long it will work before Microsoft breaks functionality in an update. They do not support shared mailbox connections in Flows that don't specifically use that language, which is a frustrating response given how many users were relying on these Flows for their daily business. 

 

Original post below:

 

Hi all - I'm having an issue with a couple Flows that were previously working without error.

 

When a new email arrives in a shared mailbox runs in a separate Flow and creates a SharePoint list item. One of the attributes added is the id of the trigger email (MessageId from the triggerBody). 

 

I have two other Flows that will reply to this initial email using Reply to email. The stored MessageId is used to reply to the correct email. This has been working for 4+ months without error, but started failing today with the error shown in the Subject (Item Id doesn't belong to the current mailbox). 

 

Myself and one other user are not having this failure. I had a user who was experiencing the failure check their connections in Flow and all apps were still connected. I also had them check their access to the shared inbox in Outlook and they still had full access.  

 

Has anyone run into something similar or have any suggestions? It seems like it must be a user connection to the shared inbox but I'm not sure what else to look into. Thanks!

 

**Editing to note that the Get email step is also failing when referencing the ID of an email in a shared mailbox.

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @EGreen ,

    Can you try removing the connection and adding it back? If the connection has any hickups, it will be corrected. Also, any changes to the a/c to the shared inbox will be refreshed.

     

    Please let us know if this helps you.

  • EGreen Profile Picture
    40 on at

    @rsaikrishna  Thank you for the suggestion - I've had that solve issues in the past before. No such luck though, the Flow is still failing with the same error message. 

  • Community Power Platform Member Profile Picture
    on at

    Has this issue got resolved? As i am also facing the same issue from yesterday.

  • EGreen Profile Picture
    40 on at

    I haven't found a solution yet.

     

    @Anonymous Out of curiosity, is your issue also relating to a shared mailbox?

  • Community Power Platform Member Profile Picture
    on at

    @EGreen Yes it is related to Shared mailbox

  • sobenson Profile Picture
    169 on at

    I am having the same issue.  I my flow is create an item in SharePoint from a shared mailbox, then delete the email.  The error is "Item Id doesn't belong to the current mailbox."

  • Community Power Platform Member Profile Picture
    on at

    I'm having the same issue as well. My flow have been running for +2 months without any issues, now all are failing with the error:

    "Item Id doesn't belong to the current mailbox.", when I am trying to "Flag E-mail"

  • EmilBSP Profile Picture
    99 on at

    Th same issue "Item Id doesn't belong to the current mailbox. on "Get Attachments" , did not any chnage and worked for 3 month

  • EmilBSP Profile Picture
    99 on at

    Just now I wrote ticket on MS support with this issue, so we will see...

  • Stewartjohn100 Profile Picture
    34 on at

    Same issue - multiple failures on flow that monitors emails arriving into a Shared Mailbox.

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard