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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Desktop...
Power Automate
Unanswered

Power Automate Desktop | Unable to send email from shared mailbox

(1) ShareShare
ReportReport
Posted on by 4

Hi Dear Community.

 

I am posting this issue as I myself have not encountered the following issue but my colleague's machine has the following error when an email is being sent from a shared mailbox.

 

Error Message

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to send email message ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: The operation failed.  The messaging interfaces have returned an unknown error. If the problem persists, restart Outlook. Cannot resolve recipient.

   --- End of inner exception stack trace ---

   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)

   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)

   at Microsoft.Flow.RPA.Desktop.Modules.Outlook.Actions.OutlookActions.InvokeMethod(Object o, String methodName, Object[] methodArgs)

   at Microsoft.Flow.RPA.Desktop.Modules.Outlook.Actions.OutlookActions.SendEmailThroughOutlook(Variant outlookInstance, Variant account, Variant from, Variant to, Variant cc, Variant bcc, Variant subject, Variant body, Variant attachments, Boolean isBodyHtml, Int32 sendEmailFrom)

   --- End of inner exception stack trace ---

   at Microsoft.Flow.RPA.Desktop.Modules.Outlook.Actions.SendEmailThroughOutlook.Execute(ActionContext context)

   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

I did suggest my colleague to try out the following KBAs

https://docs.microsoft.com/en-us/outlook/troubleshoot/profiles-and-accounts/operation-failed-send-email-outlook

https://docs.microsoft.com/en-us/outlook/troubleshoot/security/a-program-is-trying-to-send-an-email-message-on-your-behalf

 

But nothing has worked so far. I would certianly appreciate if anybody who had such an issue before and has resolved to share their resolution steps.

 

Thank you!

 

I have the same question (0)
  • Onyat Profile Picture
    10 on at

    Hi, Cloak: did you get to resolve this situation?

     

    I'm having this issue as well.  I have 4 shared mailbox accounts and the RPA is able to send out emails in two of them, and unable to send emails in the other two.  I looked at the Active Directory and noted the two shared mailbox accounts for which I cannot send emails are part of an additional security group.  I'm currently working with our AD team to remove the shared mailbox from this security group.  But at the moment, my theory is that the issue is related to how the shared mailbox was set-up, and not necessarily the RPA itself. 

  • Cloak Profile Picture
    4 on at

    Hi @Onyat 

     

    I have information from my colleague(Citizen Developer) who has worked with Microsoft support on this particular issue and safe to say that the issue should be resolved in the Aug 2022 PAD update.

     

    Cloak_0-1660653619967.png

     

    This is the information I found on the release dates.

     

    Let's hope this resolves our issue. I will keep you and the community posted once the release is out and our user has this tested.

     

    Thank you

    Cloak

  • Onyat Profile Picture
    10 on at

    Hi, @Cloak : I can confirm that this action is now working for me.  I just upgraded to the latest version of PAD an hour ago.  One thing I noticed: in the past, I had to use the display name of the shared mailbox (e.g., "IT Support"); now, I have to use the email address itself (e.g., it.support@domain.com)

     

    Hope you find this feature to be working for you too also.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 241 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 179

#3
Haque Profile Picture

Haque 159

Last 30 days Overall leaderboard