cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisParker
Level: Powered On

Connecting to a shared mailbox

Hello,

 

Is it possible to connect to a O365 shared mailbox? I have an itbilling mailbox that receives invoices that I'd like to process. I can't figure out how to access this mailbox's Inbox.

 

Thanks,

Chris.

16 REPLIES 16
Alexandre
Level: Power Up

Re: Connecting to a shared mailbox

I have the same need and tried just to add the shared folder adress in the "to" field and I got an error message.

 

Outputs
  • Body
    { "status": 404, "message": "Specified folder 'Inbox' does not exist.", "errors": [] }
  • Headers
    { "pragma": "no-cache", "x-ms-request-id": "4c2f9ab1-8076-4499-b234-3004623ad8a5", "x-Content-Type-Options": "nosniff", "cache-Control": "no-cache", "date": "Tue, 03 May 2016 01:51:39 GMT", "set-Cookie": "ARRAffinity=0b7026ab86c37cc6615d2a9369e3e0c38fb43280e0d50ec6061cf77cc518953b;Path=/;Domain=127.0.0.1", "server": "Microsoft-HTTPAPI/2.0", "x-AspNet-Version": "4.0.30319", "x-Powered-By": "ASP.NET"
Power Apps Staff Samuel
Power Apps Staff

Re: Connecting to a shared mailbox

In theory, when you add a new trigger or action for "Office 365 Outlook", you have choice of creating a new or using an existing connection. By default, it will use any existing connection it finds. The bottom of the tile for the step will say "Connected to ..." followed by a "Change Connection" link. That link should allow you to create and use a connection to a different mailbox.

 

When creating a new connection, Active Directory may try to be helpful and sign you in automatically to the mailbox of the current user. If you don't get a chance to log-in as the secondary mail account, you may have to copy the URL that appears briefly right after the loading page (the one that starts with login.microsoftonline.com) and open it in an InPrivate window (for Internet Explorer) or Incognito window (for Chrome).

ChrisParker
Level: Powered On

Re: Connecting to a shared mailbox

Correct me if I'm wrong but I don't believe shared mailboxes have credentials so there's nothing to login to. I think one gains access to a shared mailbox by permissions alone.

Power Apps Staff Samuel
Power Apps Staff

Re: Connecting to a shared mailbox

Ahh, sorry. I misunderstood. I'm not sure if shared mailboxes are supported by our O365 integration (it's looking like they aren't). I'll follow up on that. In the meantime, you may still be able to workaround the gap by setting up rules on the shared mailbox to copy/forward/archive the mails into a folder in your individual mailbox and process them from there.

Highlighted
ChrisParker
Level: Powered On

Re: Connecting to a shared mailbox

Yeah, that's my Plan B but I was hoping I wouldn't have to go that route. I know the product is in its very early days so I'm sure it will be improved later.

 

I hope the reception to Flow has been positive because I'm really enjoying it. I think it's quite good.

janvdveer
Level: Power Up

Re: Connecting to a shared mailbox

The workaround for this is, indeed, creating a rule that forwards the email to a map in your personal account. Will follow this topic for a more solid solution.

njfank
Level: Power Up

Re: Connecting to a shared mailbox

Thank you for this information!  I have the same need and hope that this functionality is worked into the product in the future.

cpierich
Level: Power Up

Re: Connecting to a shared mailbox

I haven't done this myself for this purpose but in order to connect our Office 365 Room Mailbox to our hosted Skype for Business for the conference room to allow the calendar integration we had to add the -RoomMailboxPassword. Not sure if there's an equivalent for Shared Mailbox but something that may be an alternative to rules and forwards.

 

$rm="[resourceaccount@domain.com]"

 

$newpass="[password]”

 

New-Mailbox -MicrosoftOnlineServicesID $rm -room -Name "[resource room name]" -RoomMailboxPassword (ConvertTo-SecureString $newpass -AsPlainText -Force) -EnableRoomMailboxAccount $true

DBest
Level: Power Up

Re: Connecting to a shared mailbox

Just checking to see if support for shared mailboxes has been added to your O365 integration since this thread was started ?  If no, do we know when it might be available ?

JorgeCarvalho
Level: Powered On

Re: Connecting to a shared mailbox

Hi,

 

Looking for the same thing.

In my case hoping to use flow to connect to a SharePoint Site Mailbox to mimic the behaviour of the much missed "incoming email enabled libraries" that we have on-prem.

 

Any update, or even a link to a uservoice site where we can suggest and vote this request?

Edit:

Created an idea for upvote on this site

https://powerusers.microsoft.com/t5/Flow-Ideas/Flow-to-support-SPO-Site-Mailbox/idi-p/5982

 

Lloyd
Level: Powered On

Re: Connecting to a shared mailbox

Yes, I think accessing shared mailboxes is a must-have for the Office 365 Outlook integration. When will this feature be added?

 

Edit: I also made a suggestion for voting, in case Microsoft think we only want it for SharePoint:
https://powerusers.microsoft.com/t5/Flow-Ideas/Office-365-Outlook-integration-with-shared-mailboxes/...

cmramirez26
Level: Power Up

Re: Connecting to a shared mailbox

Any update on connecting to shared mailbox.  This would be a great add-on to the product!

colinr
Level: Powered On

Re: Connecting to a shared mailbox

Just wanted to let you know - I used cpierich's suggestion here and was able to create a Flow using the Room Resource mailbox. It works flawlessly!

 

This also seems to be quite a powerful workaround. I can also log into this account from Outlook 2016 and see an Inbox, Calendar, etc. This is essentially all the power of a licensed mail user without a license. I will not be using it in such a manner, but it is pretty great to have this freedom. This solves a number of issues we have been experiencing with limitations on Shared Mailboxes!

CraigVallis
Level: Power Up

Re: Connecting to a shared mailbox

I am not sure if this has been generally solved by updates abut I was able to do this by adding a password (In O365 Tenant Admin) to the unlicensed user that was created when the Shared Mailbox is created. This allows you to create a connection to it for the Flows.

DionGoile
Level: Powered On

Re: Connecting to a shared mailbox

Further to CraigVallis's comments, Shared Mailbox support has been added to Flow.

 

You do need to do what CraigVallis has said above or allow permissions (Full access) to the shared mailbox for the user you are running the connection as, the same as if you were using the shared mailbox normally in Office365.

Mik_Haycock
Level: Powered On

Re: Connecting to a shared mailbox

with risk of Necro-ing this thread,

 

I can see from the flow updates that You can now send a mail from a shared mailbox, however my question is,

 

Can I access the out of office/automatic replies of the shared mailbox through Flow ?

 

Tia

 

Michael

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,812)