skip to Main Content

Creating a shared mailbox is an easy operation, but setting up SendAs permissions is a bit tricky.
The following article will describe all the steps for creating a shared mailbox (SM) with the right permissions.

How it’s done ?

  • in Exchange Control Panel (ECP) we must create a new Distribution Group (DG).
    • Display Name: Technical Support;
    • Alias: supportgroup;
    • this DG must be a Security Group;
    • Delivery Management;
    • add the desired members;
    • other minor adjustments.

How to create a Shared Mailbox in Exchange Online 2010 ?

Now, we must use PowerShell to connect to the Exchange account and to create the SM.

  • Connect to Exchange using PS:

#———————————————————————————
# Author:      Alexandru Dionisie
# Website:     www.cosmintataru.ro
# Script Name: Sesiune_Noua.ps1
#———————————————————————————
#
#
# 1.Ask credentials for authentication
$LiveCred = Get-Credential
# 2.Open a new session
$AlexD = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
# 3.Join the session
Import-PSSession $AlexD

How to create a Shared Mailbox in Exchange Online 2010 ?

  • Create SM using PS, give Full Access and SendAs permissions:

# In ECP or EMC create a new DG .
# The DH must be security enabled or a security group.
#
# Provide the following informations:
# DG display name – Technical Support
# DG alias – supportgroup
#———————————————————————————
# Author:      Alexandru Dionisie
# Website:     www.cosmintataru.ro
# Script Name: Shared_Mailbox.ps1
#———————————————————————————
#
#
# Create Shared Mailbox
#
# 1. Create mailbox and add alias
# Customer Support – display name for Shared Mailbox
# support – alias (must be unique)
New-Mailbox -Name „Customer Support” -Alias support -Shared
#
# 2. Give Full Access to security group (DG alias – supportgroup) to the shared mailbox
# Customer Support – display name
# supportgroup – DG alias
Add-MailboxPermission „Customer Support” -User supportgroup -AccessRights FullAccess
#
#
# Give SendAs permissions to DG members
#
# Customer Support – display name
# supportgroup – DG alias
Add-RecipientPermission „Customer Support” -Trustee supportgroup -AccessRights SendAs

How to create a Shared Mailbox in Exchange Online 2010 ?

Now, the permissions are set and users can use the SendAs feature to send E-mail as the SM.

How to create a Shared Mailbox in Exchange Online 2010 ?

 

Download PS Script:

Shared_Mailbox.ps1

Copy from TechNet: Create Shared Mailbox and assign SendAs in Exchange Online 2010

(Visited 9 times, 1 visits today)

Cosmin Tătaru

Pasionat de blogging și tehnologie încă din 2009, Cosmin este aici să vă ajute să vă creșteți vânzările și productivitatea punând tehnologia la treabă pentru dumneavoastră.

Suport-Clienti
Mergeți sus