Set Up Shared Mailboxes in Office 365
A shared mailbox is a mailbox that multiple users can open to read and send e-mail messages. Shared mailboxes allow a group of users to view and send e-mail from a common mailbox. They also allow users to share a common calendar, so they can schedule and view vacation time or work shifts.
Shared mailboxes in Microsoft Office 365
In Office 365, shared mailboxes don’t require a license. But each user who accesses a shared mailbox must have a user subscription license. Users with Exchange Online Kiosk subscriptions can’t access shared mailboxes. Also, shared mailboxes can’t be used to archive e-mail, except for the messages that are actually sent to or received from the shared mailbox
Create and configure a shared mailbox:
After you create a shared mailbox, you have to assign permissions to all users who require access to the shared mailbox. Users can't sign in to the shared mailbox. They have to sign in to their own mailbox and then open the shared mailbox to which they've been assigned permissions.
Here's how to create and configure a shared mailbox for the Printing Services department at learningdesk domain.
After you have installed and configured Windows PowerShell and Windows Remote Management (WinRM) on your computer, you have to connect the Windows PowerShell on your local computer to the cloud-based service to perform tasks in your cloud-based organization.
When you open Windows PowerShell v2 on your computer, you're in the Windows PowerShell session of your local computer. A session is an instance of Windows PowerShell that contains all the commands that are available to you.
The Windows PowerShell v2 session of your local computer, called the client-side session, only has the basic Windows PowerShell commands available to it. By connecting to the cloud-based service, you connect to the Microsoft datacenter's server environment, called the server-side session, which contains the commands used in the cloud-based service.
In the Windows PowerShell Credential Request window that opens, type the credentials of an account in your cloud-based organization. When you are finished, click OK.
Run the following command:$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
The AllowRedirection parameter enables cloud-based organizations in datacenters all over the world to connect Windows PowerShell to the cloud-based service by using the same URL.
Run the following command:
A progress indicator appears that shows the importing of commands used in the cloud-based service into the client-side session of your local computer. When this process is complete, you can run these commands.
Once, connected to the Online Services, run the following commands to create shared mailboxes in office 365.
Create a shared mailbox: To create the shared mailbox for Printing Services, run one of the following commands:
New-Mailbox -Name "Printing Services" -Alias print -Shared
Set-Mailbox print -ProhibitSendReceiveQuota 5GB -ProhibitSendQuota 4.75GB -IssueWarningQuota 4.5GB
After we create a shared mailbox, we have to assign permissions to all the users who require access to the shared mailboxes. Users can't sign into their shared mailboxes. They have to sign in to their own mailbox and then opened the shared mailbox to which they have been assigned permissions.
Create a security group for the users who need access to the shared mailbox
In the Exchange Control Panel, create a security group for the staff who need access to the shared mailbox for Corporate Printing Services.
Assign the security group the FullAccess permission to access the shared mailbox
To enable members of the Printing Services Staff security group to open the shared mailbox, read e-mail, and use the calendar, run the following command:
Add-MailboxPermission "Printing Services" -User printdg -AccessRights FullAccess
Assign the security group the SendAs permission to the shared mailbox
To enable members of the Printing Services Staff security group to send e-mail from the shared mailbox, run the following command:
Add-RecipientPermission "Printing Services" -Trustee printDG -AccessRights SendAs
It may take up to an hour until users can access a new shared mailbox or until a new security group member can access a shared mailbox. Assign an Exchange Online (Plan 1) or Exchange Online (Plan 2) license to a shared mailbox if you need additional functionality.