Sign up for Office 365
Learn more about Office 365
Patrick Klingele-Bechinger, Escalation Engineer, Exchange Server Support
Mark Johnson, Sr. Technical Writer, Exchange Online
In the current version of Exchange Online for Microsoft Office 365, you have to use the Windows PowerShell command line to create and configure shared mailboxes. Using PowerShell, you have to perform these steps:
To make this task a lot easier, we created a GUI-based tool you can use to create and configure a shared mailbox, and then assign permissions to a security group so members can open the shared mailbox and send messages from it. It’s an easy, three-step process:
For more information about using shared mailboxes, see Set Up a Shared Mailbox.
Download the SharedMailboxTool.zip file posted on the Downloads forum. This .zip file contains two files:
After you download the .zip file, extract the two files to the same folder.
The Office 365 Shared Mailbox Tool assigns a security group the permission to access and send mail from the new shared mailbox. You can’t use the tool to assign permissions to an individual user. To create a security group and add members:
1. Start the Exchange Control Panel (ECP) and create a new distribution group:
2. Specify a display name, alias, and e-mail address.
3. Select the Make this group a security group check box.
4. In the Ownership section, click Add to add an owner, if necessary.
5. In the Membership section, click Add.
6. In the Select Members page, select the users you want to add. When you are finished, click OK.
7. On the New Group page, click Save.
For more information about security groups in Exchange Online, see Create a Security-Enabled Distribution Group.
Now you’re ready to create a new shared mailbox and assign permissions to allow access to it by members of the security group you created in step 2. Here’s how:
1. In the folder where you extracted the files in the SharedMailboxtool.zip file, double-click StartSharedMailboxTool.bat
Note: If the Office 365 Shared Mailbox Tool doesn’t start, you may need to configure the execution policy on your computer. To do this, run the following command in Windows PowerShell and then start the shared mailbox tool.
2. In the Office 365 Administrator Credentials window, enter the user ID and password for an administrator account in your Office 365 organization, and then click OK. It might take a few minutes before the next window is displayed.
3. In the Office 365 Shared Mailbox Tool window, enter the following information:
4. Click Create to create the shared mailbox and assign permissions to the specified security group.
That’s it. Click Refresh on the Mailboxes page in the ECP to display the new shared mailbox. It may take up to 60 minutes before members of the security group can access the new shared mailbox.
6 out of 15 people found this post helpful.
Can you use this tool to change a User mailbox to a Shared mailbox?
"Assign the SendAs permission so that security group members can send messages from the shared mailbox."
How? there is nothing in the GUI to allow this, only to give full access to some users.
Perfect tool for the support team!
I can't seem to get this tool to run - I've set the Execution Policy to RemoteSigned as instructed, but Powershell tells me I still can't run it because the script is unsigned!
In response to Peter S.
I got away with setting it to " Set-ExecutionPolicy bypass " then changing it back to " Set-ExecutionPolicy RemoteSigned" when finished.
We found all this to be a suggestion that 'works' with just a bit more trial-and-error learning than we hoped for. Our objective was to create shared mailboxes that could be used for E-mail forwarding without creating paid office 365 accounts for each forwarding requirement. Here are a couple things we learned along the way that may be helpful to you:
For step 2. In the phrase "Create a security group and add members" the word 'a' is significant. A single group can be used for all the new 'shared mailboxes' and the E-Mail address you create for the group should not be one that is also to be used for receipt and forwarding in your Office 365 domain.
Step 3. Don't overlook the note "Set-ExecutionPolicy RemoteSigned"which is very important to allow PowerShell to work. If you already have PowerShell installed you can implement this policy only with 'Administrator' privileges. You can do that at [Start] --> [Programs] --> [Accessories] --> [Windows PowerShell] and then right-clicking on the [Windows PowerShell] software and selecting [Run as administrator].
As noted above we did all this to set up E-mail forwarding without creating paid office 365 accounts for each forwarding requirement. That means that once the 'shared mailboxes' were all created up we still needed to set them up by going to our Administrator's Outlook 365 account and selecting [Options] and the using the [Manage Myself] drop-down to go through each of the new shared E-mail accounts one-by-one. For each forwarding address we used the [Organize E-Mail] -->[Inbox rules] to finally set the desired E-mail forwarding address. (It's not very intuitive, but we're hopeful it will work as intended.)
So this is not working for me. The Shared Mailbox Tool doesn't seem to be working. I have run the execution policy command in WPS, but when I try opening the .bat file in the SharedMailbox Tool download, it only opens up the command prompt. Some red text can be seen, but then the command prompt window closes before I can actually read what it says.
I get no GUI.
Anyone got any ideas what I'm doing wrong?