Power Automate send email from shared mailbox: permissions and fixes
To make Power Automate send email from a shared mailbox, use the shared mailbox action and give the connection's account Send As and Full Access. Then fix errors.
Power AutomateFix a problem6 min read
Notifications from a flow look more trustworthy when they come from a shared mailbox such as support@ instead of one person. Power Automate can send email from a shared mailbox, but only when the right permissions are in place, and when the send isn't working, the error is confusing.
1. Pick the right action
| Action | Sends as | Copy lands in |
|---|---|---|
| Send an email from a shared mailbox (V2) | The shared mailbox | The shared mailbox's Sent Items |
| Send an email (V2) with From (Send as) filled in | The shared mailbox | Usually the connection account's own Sent Items |
| Send an email (V2) | The connection's own account | The account's Sent Items |
Use Send an email from a shared mailbox (V2) when the team should see what was sent, with the shared mailbox's full address, such as support@contoso.com.
Warning
Microsoft lists a known issue: this action doesn't work for a shared mailbox that was converted from a personal mailbox. Microsoft says it's expected to work for the Microsoft 365 shared mailbox feature only.
2. Get the permission right
The flow sends with its connection's account: whoever signed in to the Office 365 Outlook connection, not whoever triggered the flow. That account needs permissions on the shared mailbox, granted by an Exchange admin in the shared mailbox's delegation settings in the Exchange admin center. Microsoft's own shared mailbox setup says both Full Access and Send As are required for the shared mailbox to work properly:
| Permission | What it allows |
|---|---|
| Send As | Send mail that appears to come from the mailbox. Needed to send |
| Send on Behalf | Send mail shown as "your name on behalf of Support". Microsoft's pages disagree on whether the admin center offers it for a shared mailbox; an admin can always set it in PowerShell with Set-Mailbox -GrantSendOnBehalfTo |
| Full Access | Open and read the mailbox. Needed for shared mailbox triggers, and with Send As for a copy of sent mail to be saved in the mailbox, but on its own it doesn't let you send as it |
Tip
Use a service account for the connection, not a person's account. When a person leaves, their connection breaks and so does every flow on it.
3. Not working? Fix the common errors
"This message could not be sent. You do not have the permission to send the message on behalf of the specified user."
- The connection's account may not have Send As at all. Ask an admin to check.
- It was granted recently, the case Microsoft documents for this message. Microsoft says a new shared mailbox or permission can take about an hour to replicate, and the Outlook connector's page says about two hours to reach the connector. Wait, then run the flow again.
- The flow uses a different connection than you think. Open the action and check which account it shows.
"Specified object was not found in the store" (often on the trigger When a new email arrives in a shared mailbox (V2))
- Check the connection's account is a member of the shared mailbox, with permission on it.
- Check Original Mailbox Address holds the shared mailbox's address.
- Check the shared mailbox's setup in the admin center.
- If it still fails, delete and recreate the Outlook connection, and select it again in the trigger.
- The same message can also mean the email the flow was working on has been moved or deleted.
"REST API is not yet supported for this mailbox"
- The mailbox isn't one Exchange Online's API can serve, such as an on-premises mailbox or an account with no Exchange Online licence. See fix MailboxNotEnabledForRESTAPI.
The email never arrives
- Check the run history: if the action succeeded, look in the recipient's Junk and Focused folders, and in any Outlook rules.
- Sending lots of mail? The Office 365 Outlook connector allows far more calls than the older Mail connector, which is limited to 100 a day.
4. Replies and attachments
- Replies go to the address the email came from unless you fill in Reply To.
- Attachments: add them in the action's Attachments with a name and the file content. If the flow starts from an email in the shared mailbox, set the trigger's Include Attachments to Yes, or the content will be empty. See Files and attachments in flows.
Sources
- Microsoft Learn: Send an email from a distribution list or shared mailbox
- Microsoft Learn: Troubleshoot common issues with email in flows
- Microsoft Learn: About shared mailboxes: send permissions error
- Microsoft Learn: Issues triggering emails with attachments from a shared mailbox
- Microsoft Learn: Office 365 Outlook connector
- Microsoft Learn: Create a shared mailbox: edit shared mailbox delegation
- Microsoft Learn: Manage permissions for recipients in Exchange Online
Add LowCodeStacks as a preferred source on Google
Did this fix it?
Get the weekly email
New guides and updates from LowCodeStacks, every Tuesday. One email a week, no more.
From LowCodeStacks, Regina, SK, contact@lowcodestacks.com. You can unsubscribe any time, from the link in every email or in your privacy settings. See the Privacy notice.
Comments
No comments yet. Share what worked for you.
Sign in to comment. Comments show under a display name you choose, never your email.