Skip to main content
Community site session details

Community site session details

Session Id : 8bKN2BbgX/sYCFiQw6qilW
Power Automate - Building Flows
Answered

Create list item when new email arrives in shared inbox and add attachments not working

Like (0) ShareShare
ReportReport
Posted on 28 Nov 2023 16:44:09 by

Hi All

 

Please can you tell me where I'm going wrong here?

{
 "status": 404,
 "message": "Item 'AAMkAGJhZmY5YWUxLTQ3NjAtNGNlOS05MWM1LTYxYmEwMjY1MDI0MwBGAAAAAADnHzrk_C1KSb1bU_TLKJPHBwBNMRy1ugqzRIKSj3ZmV7kFAAAAAAEMAABNMRy1ugqzRIKSj3ZmV7kFAAFoLOiAAAABEgAQAM77BXf5td5HjCeTmTatYcE=' doesn't belong to the targeted mailbox 'fe6f7354-9e41-4600-a563-ee1819fc9649'.\r\nclientRequestId: 167bc21c-70c9-40b2-983d-8a1bc6cbb84a\r\nserviceRequestId: 21071272-1eed-2ce9-4389-83d4c49949cd",
 "error": {
 "message": "Item 'AAMkAGJhZmY5YWUxLTQ3NjAtNGNlOS05MWM1LTYxYmEwMjY1MDI0MwBGAAAAAADnHzrk_C1KSb1bU_TLKJPHBwBNMRy1ugqzRIKSj3ZmV7kFAAAAAAEMAABNMRy1ugqzRIKSj3ZmV7kFAAFoLOiAAAABEgAQAM77BXf5td5HjCeTmTatYcE=' doesn't belong to the targeted mailbox 'fe6f7354-9e41-4600-a563-ee1819fc9649'.",
 "code": "ErrorInvalidMailboxItemId",
 "originalMessage": "Item 'AAMkAGJhZmY5YWUxLTQ3NjAtNGNlOS05MWM1LTYxYmEwMjY1MDI0MwBGAAAAAADnHzrk_C1KSb1bU_TLKJPHBwBNMRy1ugqzRIKSj3ZmV7kFAAAAAAEMAABNMRy1ugqzRIKSj3ZmV7kFAAFoLOiAAAABEgAQAM77BXf5td5HjCeTmTatYcE=' doesn't belong to the targeted mailbox 'fe6f7354-9e41-4600-a563-ee1819fc9649'."
 },
 "source": "office365-we.azconn-we-002.p.azurewebsites.net"
}
LukeSykes_0-1701189645690.png

The answer seems obvious - attachment not found, but why? 😞

LukeSykes_1-1701189803028.png

 

  • LukeSykes Profile Picture
    on 29 Nov 2023 at 10:31:54
    Re: Create list item when new email arrives in shared inbox and add attachments not working

    Hi

     

    A less complicated workaround - i set up a rule on the shared inbox to forward new emails to my own inbox, then another rule to filter it out to a sub folder, then trigger the flow!

  • RobotRising Profile Picture
    402 on 28 Nov 2023 at 17:57:45
    Re: Create list item when new email arrives in shared inbox and add attachments not working

    For operations that don't support shared mailboxes yet, you can use a workaround with the Invoke an HTTP request action under the HTTP with Azure AD connector. When creating a connection for the HTTP with Azure AD connector, input text https://graph.microsoft.com/ for both Azure AD Resource URI and Base Resource URL connection parameters. After it's created, you can go to Outlook mail REST API to set the URL, and optionally the request body to call its shared mailbox APIs. Some of the Outlook functions will only be available on the beta version of Graph API. The HTTP with Azure AD connector is a premium connector and won't be available if you are using the free version of Microsoft Power Automate.

     



    --------------------------------------------------------------------
    🌟 If I have helped give me a thumbs up! 👍
    If I have answered your question, please mark it as solved

  • Verified answer
    RobotRising Profile Picture
    402 on 28 Nov 2023 at 17:56:57
    Re: Create list item when new email arrives in shared inbox and add attachments not working

    Get attachment action doesn't support shared mailboxes. You will have to use a workaround: Office 365 Outlook - Connectors | Microsoft Learn

     



    --------------------------------------------------------------------
    🌟 If I have helped give me a thumbs up! 👍
    If I have answered your question, please mark it as solved

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete