Skip to main content
Joinly by KoppelHet

Entra ID and Active Directory

Shared mailbox permissions: who may read, and who may send on behalf of the team?

Your colleague needs to open the planning@ mailbox and reply on behalf of the team. Which shared mailbox permissions do you give? And why does the mailbox sometimes not appear in Outlook by itself? Exchange Online has three kinds of permission that you need to keep apart: Full Access, Send As and Send on Behalf.

Who may read, and who may send on behalf of the team?

With a mailbox such as info@ or planning@, you want to know exactly who may read messages and who may reply. Microsoft distinguishes three shared mailbox permissions for this.

A shared mailbox such as info@ or planning@ has no user of its own who signs in. Colleagues work in it with permissions on that mailbox. The difference between Full Access, Send As and Send on Behalf is the question that comes up most often, and the answer decides how a sent message looks to the recipient.

Full Access, Send As and Send on Behalf side by side
Full AccessSend AsSend on Behalf
In the Exchange admin centerRead and manageSend asNot available, PowerShell only
What it doesOpen the mailbox, read, move and delete mail, create calendar items and tasksSend as if the mailbox itself is sendingSend on behalf of the mailbox
What the recipient seesCannot sendFrom: planning@bedrijf.nlFrom: Jan Jansen on behalf of planning@bedrijf.nl
Where replies goNot applicableTo the shared mailboxTo the shared mailbox
Type of permissionPermission on the mailboxPermission on the recipientProperty of the mailbox
PowerShellAdd-MailboxPermissionAdd-RecipientPermissionSet-Mailbox -GrantSendOnBehalfTo

Full Access on its own is not enough to send. Anyone who works in the mailbox and also needs to send mail needs Full Access plus Send As or Send on Behalf; Microsoft names Full Access and Send As together as what is needed for normal use of a shared mailbox. Choose one sending permission per mailbox deliberately: for a general mailbox usually Send As, so the customer sees one sender, and Send on Behalf when it should be visible which colleague wrote.

How to give colleagues access to a shared mailbox

Adding a permission is usually quick. What matters more is that you also know how to remove it again later.

  1. Open the Exchange admin center and go to Recipients > Mailboxes.
  2. Choose the shared mailbox and then Manage mailbox delegation.
  3. Choose Edit next to Read and manage (Full Access) or next to Send as, add the users and save.
  4. Send on Behalf is not here. You grant that with PowerShell.
Granting the three permissions with the ExchangeOnlineManagement module
Connect-ExchangeOnline

# Full Access, with automapping (default)
Add-MailboxPermission -Identity "planning@bedrijf.nl" -User "jan.jansen@bedrijf.nl" -AccessRights FullAccess -InheritanceType All

# Send As
Add-RecipientPermission -Identity "planning@bedrijf.nl" -Trustee "jan.jansen@bedrijf.nl" -AccessRights SendAs -Confirm:$false

# Send on Behalf, without overwriting existing names
Set-Mailbox -Identity "planning@bedrijf.nl" -GrantSendOnBehalfTo @{ Add = "jan.jansen@bedrijf.nl" }
And removing them again
Remove-MailboxPermission -Identity "planning@bedrijf.nl" -User "jan.jansen@bedrijf.nl" -AccessRights FullAccess -InheritanceType All -Confirm:$false
Remove-RecipientPermission -Identity "planning@bedrijf.nl" -Trustee "jan.jansen@bedrijf.nl" -AccessRights SendAs -Confirm:$false
Set-Mailbox -Identity "planning@bedrijf.nl" -GrantSendOnBehalfTo @{ Remove = "jan.jansen@bedrijf.nl" }

If someone cannot send after the permission is granted and gets "You do not have the permission to send the message on behalf of the specified user", wait. According to Microsoft that is a replication delay that clears after about an hour.

Why the shared mailbox does not appear in Outlook by itself

An employee has the right permissions, yet cannot see the mailbox. That does not have to be a fault in the permission.

When you give a user Full Access, Outlook adds the shared mailbox to their profile by itself. That is called automapping and it is on by default. Outlook uses Autodiscover for this, and Autodiscover only looks at users who have Full Access themselves. It does not see members of a group with Full Access. If you give Full Access through a group, the members do have access, but they have to add the mailbox in Outlook themselves, or open it in Outlook on the web.

If you actually want to switch automapping off, for example for someone with access to twenty mailboxes that slow Outlook down, you can only do that when granting the permission. For someone who already has Full Access, remove the permission first and grant it again:

Switching automapping off for one user
Remove-MailboxPermission -Identity "planning@bedrijf.nl" -User "jan.jansen@bedrijf.nl" -AccessRights FullAccess -InheritanceType All -Confirm:$false

Add-MailboxPermission -Identity "planning@bedrijf.nl" -User "jan.jansen@bedrijf.nl" -AccessRights FullAccess -InheritanceType All -AutoMapping $false

Arranging access for a whole team

When several colleagues use the same mailbox, it makes sense to manage permissions through a group. That does come with a practical limitation.

Granting permissions per person stays manageable until you have ten mailboxes and fifty colleagues. A group saves work: you change one membership instead of three permissions on every mailbox. For this you use a mail-enabled security group. You can pick an ordinary security group in the list, but according to Microsoft the permission then does not work.

All three permissions to a mail-enabled security group
$groep = "MB-Planning"

Add-MailboxPermission -Identity "planning@bedrijf.nl" -User $groep -AccessRights FullAccess -InheritanceType All
Add-RecipientPermission -Identity "planning@bedrijf.nl" -Trustee $groep -AccessRights SendAs -Confirm:$false
Set-Mailbox -Identity "planning@bedrijf.nl" -GrantSendOnBehalfTo @{ Add = $groep }
Per user or through a group
Per userThrough a mail-enabled security group
Automapping in OutlookYesNo, members add the mailbox themselves
Adding or removing someoneChange three permissions per mailboxChange one membership
LimitUp to 500 permission entries per mailboxThe group counts as one entry
Overview after a few yearsNobody remembers why someone is on itOne group per mailbox, but you still have to keep track of who is in it
Dynamic membership in Entra IDNot applicableNot possible for mail-enabled security groups

That last point is the real limitation. A dynamic group based on department or job title, as in dynamic groups based on HR attributes, can be made in Entra ID from an ordinary security group or a Microsoft 365 group. A mail-enabled security group is managed in Exchange or the Microsoft 365 admin center, by hand. How the group types differ further is covered in the difference between security groups and Microsoft 365 groups.

Can you see everyone who has access to the mailbox?

With shared mailboxes in particular, the list of people who were once given access quietly keeps growing.

That question comes up in every audit, and the answer is in three places: Full Access and Send As are permissions with their own cmdlet, Send on Behalf is a property of the mailbox. This script lists them per shared mailbox, without the system entries (NT AUTHORITY\SELF) and inherited permissions.

All permissions on all shared mailboxes, as CSV
Connect-ExchangeOnline

Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize Unlimited | ForEach-Object {
  $mb = $_.PrimarySmtpAddress

  Get-MailboxPermission -Identity $mb |
    Where-Object { -not $_.IsInherited -and $_.User -notlike "NT AUTHORITY\*" } |
    ForEach-Object { [pscustomobject]@{ Mailbox = $mb; Wie = $_.User; Recht = "FullAccess" } }

  Get-RecipientPermission -Identity $mb -AccessRights SendAs |
    Where-Object { $_.Trustee -notlike "NT AUTHORITY\*" } |
    ForEach-Object { [pscustomobject]@{ Mailbox = $mb; Wie = $_.Trustee; Recht = "SendAs" } }

  $_.GrantSendOnBehalfTo |
    ForEach-Object { [pscustomobject]@{ Mailbox = $mb; Wie = $_; Recht = "SendOnBehalf" } }
} | Export-Csv ".\gedeelde-mailboxen.csv" -NoTypeInformation -Encoding UTF8

If a group is among them, you see the group name rather than the people; you look those up with Get-DistributionGroupMember. Put the result next to your staff list. What you usually find: former employees still on a mailbox because their account was only disabled, people who changed team and still have their old team's mailbox, and groups whose members nobody knows.

What else you need to know about shared mailboxes

  • No licence needed up to 50 GB. Anyone who opens the mailbox does need an Exchange Online licence of their own.
  • Block sign-in on the shared mailbox's account, and keep it blocked. Microsoft does not intend the mailbox for direct sign-in.
  • Up to 25 users. If more people work in it at the same time, they may see connection errors or duplicate messages. For a larger group Microsoft recommends a Microsoft 365 group.
  • Internal users only. You cannot give external people access.
  • You cannot prevent deletion. Anyone with Full Access can throw messages away.
  • Encrypting from the shared mailbox is not possible, because the mailbox has no sign-in credentials of its own.
  • Moves. With a new role, the new team's mailbox usually does get added. A permission on the old mailbox does not disappear by itself.

If a leaver's mailbox is converted to a shared mailbox, a few extra conditions apply. They are in removing licences when employees leave.

Joinly

Mailbox permissions that move with the team

Permissions on a shared mailbox are often set once and then forgotten. Someone changes department, but keeps access to the old team's mailbox. Or a new colleague has to wait days until someone grants the permissions.

With Joinly you can make access to shared mailboxes part of a role. The role follows the job title or department in HR. That way the right mailbox can be added when someone joins and removed again when they change team or leave. For the technical set-up, the Exchange permissions in this article still apply.

Het beheer van Entra-groepen, Teams en kanalen in JoinlyRead more about roles in Joinly

What you can count on

  • No vendor lock-inYour identities and your configuration stay yours.
  • Your data out whenever you wantYou can export your data at any time.
  • Standard SLAOur standard SLA is available on request.
  • Support during implementationOur specialists set it up together with you.
  • ISO 27001 certifiedInformation security to an internationally recognised standard.

Shared mailbox permissions

Frequently asked questions

  • What is the difference between Send As and Send on Behalf?

    With Send As the message appears to come from the shared mailbox itself; the recipient only sees the mailbox's address. With Send on Behalf the recipient sees "Jan Jansen on behalf of planning@". In both cases replies go to the shared mailbox.

  • Can someone with Full Access also send mail?

    No. Full Access means opening, reading and managing. To send, Send As or Send on Behalf is needed, and you grant those separately.

  • Why does the shared mailbox not appear in Outlook?

    Usually because you gave Full Access through a group. Automapping only works for users who hold the permission themselves, because Autodiscover does not look up group members. Grant the permission per user, or have the user add the mailbox in Outlook themselves.

  • How do I switch automapping off?

    Remove the Full Access permission with `Remove-MailboxPermission` and grant it again with `Add-MailboxPermission ... -AutoMapping $false`. You cannot switch automapping off separately for an existing permission.

  • Can I give permissions on a shared mailbox through a group?

    Yes, with a mail-enabled security group, for all three permissions. An ordinary security group does not work. Members then get no automapping, and a mail-enabled security group cannot have dynamic membership in Entra ID.

Try Joinly on top of your own Microsoft environment

Roles, workflows, external staff and an audit log for Entra ID and Active Directory. Start with demo data in the free trial environment.

No credit card, nothing to install.

Rather talk to someone first? Talk to an IAM specialist