Skip to main content

Notifications

Power Automate - General Discussion
Answered

"Get Attachment" not working with shared mailbox

(3) ShareShare
ReportReport
Posted on by 15
Hello all,
 
I have a flow which essentially takes email attachments and uploads them to SP (among other things). I had it set up with my personal mailbox and it was working great. I have since updated it to be triggered by a new email arriving in a Shared Mailbox instead (with the appropriate trigger), and everything still works fine until the "Get Attachment" action. For some reason, I get a "Not Found" error with the Get Attachment action. It seems to be unable to find the Message ID in the shared mailbox, even though the action is identical to how I had it set up with my personal mailbox (formula is triggerOutputs()?['body/id'], but I used dynamic content to avoid errors in typing).
 
The attachment ID parameter is the attachment's attachment id dynamic content (again, identical to how it was when I had it set up with my mailbox).
 
 
I test it manually every time because I've read online that attachments can get corrupted when you test automatically, but automatic tests worked fine when it was connected to my inbox, so that shouldn't be an issue anyways.
 
Any insight? What have I forgotten? I have sending permissions for the mailbox if that makes a difference.
Categories:
  • Verified answer
    OW-14082011-0 Profile Picture
    OW-14082011-0 15 on at
    "Get Attachment" not working with shared mailbox
    Figured out the answer! I had to add the advanced parameter "Original Mailbox Address" in the Get Attachment action and specify the shared mailbox address. I guess even though that is the mailbox for the trigger it still wants to search my own mailbox for the email by default when I want to get the attachments.
  • Suggested answer
    AnthonyAmador Profile Picture
    AnthonyAmador 2,519 on at
    "Get Attachment" not working with shared mailbox
    Hi, 
     
    In the "Get Attachment V2" action are you using the dynamic content Attachments Attachment id? It should automatically create an apply for each, since its possible you can have multiple attachments. 



    Hope this helps. 
    Anthony.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard