web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Send mail from shared mailbox - not working

(0) ShareShare
ReportReport
Posted on by 8

Hi there

I am new to flow and i have the following problem: I want to create an automated answer on a shared mailbox (not licensed, no login credentials). The condition is already working, but i am not able to send the email from the shared mailbox. If i choose my own mailbox, everything is working fine.

These are the errors i got:

-Status code: 404

-Item '**********'doesn't belong to the targeted mailbox '*****************'

-ErrorInvalidMailboxItemId

My question is: Is it even possible to use a shared mailbox for this purpose? Or do i need a licensed mailbox? 

I also can not add the shared mailbox as a new connection, because there are no login credentials.

Thank you for your support!

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    Re: Send mail from shared mailbox - not working

    I am not certain as to some of the specificities of your question (shared vs logon).

     

    The organization that I worked for has a shared mailbox that does not have logon credentials (that I know of). I have been able to route information through that mailbox using microsoft flow. 

     

    I do not have the shared mailbox in the connectors.

     

    Are you using, "When a new email arrives in a shared inbox v2"?

     

     

  • tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Send mail from shared mailbox - not working

    It is possible, but you need 'Send on behalf' or 'Send as' permissions on that shared mailbox. Then it's not a different connection, it's just a configuration in the 'Send an email (V2)' action, where under the 'Show advanced options' you've got a 'From (Send as)' field where you enter the shared mailbox.

    image.png

  • one2know Profile Picture
    8 on at
    Re: Send mail from shared mailbox - not working

    Thank you. I need to answer an email, not create a new one. So "Send an email (V2)" doesn't seem to be right. Or is there a possibility to choose the sender dynamically as the new receiver?

     

    I was able to send a new mail from the shared mailbox. But this is no answer...

     

    So once again: An email is sent to a shared mailbox. Flow should answer this mail from this shared mailbox.

    How can i do this?

  • Community Power Platform Member Profile Picture
    on at
    Re: Send mail from shared mailbox - not working

    If you use, "Get Email", I believe you can use that as dynamic content.

  • tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Send mail from shared mailbox - not working

    There's also 'Reply to email' action.

    image.png

  • ajdhingr Profile Picture
    Microsoft Employee on at
    Re: Send mail from shared mailbox - not working

    @one2know There are plenty of triggers you can consider to use based on your requirement. Please check below 

     

    ajdhingr_0-1604032032559.png

    Hope this will help to resolve your issue.

  • one2know Profile Picture
    8 on at
    Re: Send mail from shared mailbox - not working

    Reply to Email is not working. Everytime I get the error 404 and the message that mentioned above. It seems like Flow can not use the shared mailbox to answer.

     

    If i use "reply to email" with my personal mailbox, everything is working. Sadly not with the shared mailbox.

     

    Any ideas?

  • one2know Profile Picture
    8 on at
    Re: Send mail from shared mailbox - not working

    The trigger and the condition are not the problem. My major problem is, that i am unable to send mails from the shared mailbox.

     

    These are the errors i can see:

     

    one2know_0-1604298918830.png

    {
    "status":404,
    "message":"Item'AQMkAGZiN2NhODdlLTk2MWYtNGUwMS1iMWY3LBGAAADpODbOp0f2EmDpMd_rupUswcAIp_IxdGW_kGU0MGsxS8a3AAAAgEMAAAAIp_IxdGW_kGU0MGsxS8a3AABDQzXagAAAA=='doesn't belong to the targeted mailbox '7c961418-***-41b7-****-2727221c8304'.\r\nclientRequestId: 27479151-7934-****-***-ef098fc75eae\r\nserviceRequestId: 4d23d151-****-****-994f-f3a725eb7e14",
    "error":{
    "message":"Item'AQMkAGZiN2NhODdlLTk2MWYtNGUwMS1iMWY3GMzNABGAAADpODbOp0f2EmDpMd_rupUswcAIp_IxdGW_kGU0MGsxS8a3AAAAgEMAAAAIp_IxdGW_kGU0MGsxS8a3AABDQzXagAAAA=='doesn't belong to the targeted mailbox '7c961418-***-41b7-****-2727221c8304'.",
    "code":"ErrorInvalidMailboxItemId",
    "originalMessage":"Item'AQMkAGZiN2NhODdlLTk2MWYtLTVkY2E0NWEzMGMzNABGAAADpODbOp0f2EmDpMd_rupUswcAIp_IxdGW_kGU0MGsxS8a3AAAAgEMAAAAIp_IxdGW_kGU0MGsxS8a3AABDQzXagAAAA=='doesn't belong to the targeted mailbox'7c961418-****-41b7-****-2727221c8304'."
    ;},
  • ajdhingr Profile Picture
    Microsoft Employee on at
    Re: Send mail from shared mailbox - not working

    Could you please share the Trigger and Action Card ?  I just want to make sure that all the parameter you are passing are correct because you error says code":"ErrorInvalidMailboxItemId", 

  • Verified answer
    VictorIvanidze Profile Picture
    12,868 on at
    Re: Send mail from shared mailbox - not working

    Hi @one2know, did you populate the  "Original Mailbox Address" field in "Reply to email (V3)" action?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard