# Mapping a shared mailbox to existing Outlook profile

**URL:** <https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518>\
**Category:** PowerShell Help\
**Created:** [January 22, 2021, 4:43am UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518 "2021-01-22T04:43:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anotheritguy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/anotheritguy/32/17_2.png) [@anotheritguy](https://forums.powershell.org/u/anotheritguy)\
**Post date:** [January 22, 2021, 4:43am UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518/1 "2021-01-22T04:43:13Z")

</div>

Hello, I am new to powershell and have been working with a few precompiled and quite simple scripts to add delegate permissions to a shared mailbox in M365. This works great and allows me to avoid the mess off automapping and OST bloat. The result is that I must manually connect to the clients PC and add the shared mailbox to their Outlook profile.

Is there a way to use powershell to map this shared drive to Outlook so that the extra steps of contacting and getting permission to connect remotely to a clients computer can be avoided?

&nbsp;

Thanks for your time!

&nbsp;

Rob

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [January 22, 2021, 5:50am UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518/2 "2021-01-22T05:50:57Z")

</div>

> [@](#):
>
> The result is that I must manually connect to the clients PC and add the shared mailbox to their Outlook profile.

You should help/challenge/empower your users to help themselfs. On the long run it actually does not help them when you take away the normal user configuration work from them.

---

<div class="post-metadata">

**Author:** ![anotheritguy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/anotheritguy/32/17_2.png) [@anotheritguy](https://forums.powershell.org/u/anotheritguy)\
**Post date:** [January 22, 2021, 5:57am UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518/3 "2021-01-22T05:57:24Z")

</div>

> [@](#):
>
> You should help/challenge/empower your users to help themselfs. On the long run it actually does not help them when you take away the normal user configuration work from them.

I would normally agree with you here except we are an MSP for hundreds of clients ranging from small businesses to companies with hundreds of employees. Some of these companies do not allow their staff to have their own email password for security reasons which leaves us to have to setup mailboxes for them. Finding a solution to streamline this task would save us a lot of time and save the client’s workflow from being interrupted. Thank you for the reply and suggestion though!

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [January 22, 2021, 6:12am UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518/4 "2021-01-22T06:12:41Z")

</div>

> [@](#):
>
> Some of these companies do not allow their staff to have their own email password for security reasons which leaves us to have to setup mailboxes for them

OK, but in this case you don’t have to connect to the PC you have to connect to the particular user session, right?

Did you search the PowershellGallery? There is a module OutlookConnector what sounds promissing for this kind of requirement.

---

<div class="post-metadata">

**Author:** ![anotheritguy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/anotheritguy/32/17_2.png) [@anotheritguy](https://forums.powershell.org/u/anotheritguy)\
**Post date:** [January 22, 2021, 6:20am UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518/5 "2021-01-22T06:20:48Z")

</div>

I will take a look at this module. Thanks again!

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:28pm UTC](https://forums.powershell.org/t/mapping-a-shared-mailbox-to-existing-outlook-profile/15518/6 "2024-05-16T20:28:01Z")

</div>

Closed on May 16, 2024, 8:28pm UTC


