In Exchange Online, you can use the Exchange admin center (EAC) or Exchange Online PowerShell to assign permissions to a mailbox or group so that other users can access the mailbox (the Full Access permission)...
In Exchange Online, you can use the Exchange admin center (EAC) or Exchange Online PowerShell to assign permissions to a mailbox or group so that other users can access the mailbox (the Full Access permission), or send email messages that appear to come from the mailbox or group (the Send As or Send on Behalf permissions). The users that are assigned these permissions on other mailboxes or groups are called delegates.
The permissions that you can assign to delegates for mailboxes and groups in Exchange Online are described in the following table:
Note: Although you might be able use Exchange Online PowerShell to assign some or all of these permissions to other delegate types on other kinds of recipient objects, this topic focuses on the delegate and recipient object types that produce useful results.
Permission | Description | Recipient types in the EAC | Additional recipient types in PowerShell | Available delegate types |
---|---|---|---|---|
Full Access | Allows the delegate to open the mailbox, and view, add and remove the contents of the mailbox. Doesn't allow the delegate to send messages from the mailbox. If you assign the Full Access permission to a mailbox that's hidden from address lists, the delegate won't be able to open the mailbox. By default, discovery mailboxes are hidden from address lists. By default, the mailbox auto-mapping feature uses Autodiscover to automatically open the mailbox in the delegate's Outlook profile (in addition to their own mailbox). Note that auto-mapping will only work for individual users granted the proper permissions and will not work for any kind of group. If you don't want mailboxes to be auto-mapped, you need to take one of the following actions: • Use the Add-MailboxPermission cmdlet in Exchange Online PowerShell to assign the Full Access permission with the -AutoMapping $false setting. For more information, see the Use Exchange Online PowerShell to assign the Full Access permission to mailboxes section in this topic. • Assign the Full Access permission to a mail-enabled security group. The mailbox won't open in the Outlook profile of each member. |
User mailboxes Resource mailboxes Shared mailboxes |
Discovery mailboxes | Mailboxes with user accounts Mail users with accounts Mail-enabled security groups |
Send As | Allows the delegate to send messages as if they came directly from the mailbox or group. There's no indication that the message was sent by the delegate. Doesn't allow the delegate to read the contents of the mailbox. If you assign the Send As permission to a mailbox that's hidden from address lists, the delegate won't be able to send messages from the mailbox. |
User mailboxes Resource mailboxes Shared mailboxes Distribution groups Dynamic distribution groups Mail-enabled security groups Microsoft 365 groups |
n/a | Mailboxes with user accounts Mail users with accounts Mail-enabled security groups |
Send on Behalf | Allows the delegate to send messages from the mailbox or group. The From address of these messages clearly shows that the message was sent by the delegate (" <Delegate> on behalf of <MailboxOrGroup>"). However, replies to these messages are sent to the mailbox or group, not to the delegate. Doesn't allow the delegate to read the contents of the mailbox. If you assign the Send on Behalf permission to a mailbox that's hidden from address lists, the delegate won't be able to send messages from the mailbox. |
User mailboxes Resource mailboxes Distribution groups Dynamic distribution groups Mail-enabled security groups Microsoft 365 groups |
Shared mailboxes | Mailboxes with user accounts Mail users with accounts Mail-enabled security groups Distribution groups |
Note
If a user has both Send As and Send on Behalf permissions to a mailbox or group, the Send As permission is always used.
What do you need to know before you begin?
-
Estimated time to complete each procedure: 2 minutes.
-
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mailbox settings" entry in the Feature permissions in Exchange Online topic.
-
To open and use the EAC, see Exchange admin center in Exchange Online. To connect to Exchange Online PowerShell, see Connect to Exchange Online PowerShell.
-
When a mailbox is added to Outlook using Advanced Settings, only the primary mailbox will be added; the archive mailbox won't be added. If a user needs to also access the archive mailbox, the mailbox should be added to Outlook as a second account in the same Outlook profile.
-
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts for the Exchange admin center.
Tip
Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Online or Exchange Online Protection.
Use the EAC to assign permissions to individual mailboxes
-
In the EAC, click Recipients in the feature pane. Depending on the type of mailbox that you want to assign permissions for, click on one of the following tabs:
-
Mailboxes: User or linked mailboxes.
-
Resources: Room or equipment mailboxes.
-
Shared: Shared mailboxes.
-
-
In the list of mailboxes, select the mailbox that you want to assign permissions for, and then click Edit .
-
On the mailbox properties page that opens, click Mailbox delegation and configure one or more of the following permissions:
-
Send As: Messages sent by a delegate appear to come from the mailbox.
-
Send on Behalf: Messages sent by a delegate have " <Delegate> on behalf of <Mailbox>" in the From address. Note that this permission isn't available in the EAC for shared mailboxes.
-
Full Access: The delegate can open the mailbox and do anything except send messages.
To assign permissions to delegates, click Add under the appropriate permission. A dialog box appears that lists the users or groups that can have the permission assigned to them. Select the user or group from the list, and then click Add. Repeat this process as many times as necessary. You can also search for users or groups in the search box by typing all or part of the name, and then clicking Search . When you're finished selecting delegates, click OK.
To remove a permission from a delegate, select the delegate in the list under the appropriate permission, and then click Remove .
-
-
When you're finished, click Save.
Use the EAC to assign permissions to multiple mailboxes at the same time
-
In the EAC, go to Recipients > Mailboxes.
-
Select the mailboxes that you want to assign permissions for. Use click + Shift key + click to select a range of mailboxes, or Ctrl key + click to select multiple individual mailboxes. The title of the details pane changes to Bulk Edit as shown in the following diagram.
-
At the bottom of the details pane, click More options. Under the Mailbox Delegation option that appears, choose Add or Remove. Depending on your selection, do one of the following steps:
-
Add: In the Bulk Add Delegation dialog box that appears, click Add under the appropriate permission (Send As, Send on Behalf, or Full Access). When you're finished selecting users or groups to add as delegates, click Save.
-
Remove: In the Bulk Remove Delegation dialog box that appears, click Add under the appropriate permission (Send As, Send on Behalf, or Full Access). When you're finished selecting users or groups to remove from the existing delegates, click Save.
-
Use the EAC to assign permissions to groups
-
In the EAC, go to Recipients > Groups.
-
In the list of groups, select the group that you want to assign permissions for, and then click Edit .
-
On the group properties page that opens, click Group delegation and configure one of the following permissions:
-
Send As: Messages sent by a delegate appear to come from the group.
-
Send on Behalf: Messages sent by a delegate have " <Delegate> on behalf of <Group>" in the From address.
-
-
To assign permissions to delegates, click Add under the appropriate permission. A dialog box appears that lists the users or groups that can have the permission assigned to them. Select the user or group from the list, and then click Add. Repeat this process as many times as necessary. You can also search for users or groups in the search box by typing all or part of the name, and then clicking Search . When you're finished selecting delegates, click OK.
To remove a permission from a delegate, select the delegate in the list under the appropriate permission, and then click Remove .
-
When you're finished, click Save.
Use Exchange Online PowerShell to assign the Full Access permission to mailboxes
You use the Add-MailboxPermission and Remove-MailboxPermission cmdlets to manage the Full Access permission for mailboxes. These cmdlets use the same basic syntax:
Add-MailboxPermission -Identity <MailboxIdentity> -User <DelegateIdentity> -AccessRights FullAccess -InheritanceType All [-AutoMapping $false]
Remove-MailboxPermission -Identity <MailboxIdentity> -User <DelegateIdentity> -AccessRights FullAccess -InheritanceType All
This example assigns the delegate Raymond Sam the Full Access permission to the mailbox of Terry Adams.
Add-MailboxPermission -Identity "Terry Adams" -User raymonds -AccessRights FullAccess -InheritanceType All
This example assigns Esther Valle the Full Access permission to the organization's default discovery search mailbox, and prevents the mailbox from automatically opening in Esther Valle's Outlook.
Add-MailboxPermission -Identity "DiscoverySearchMailbox{D919BA05-46A6-415f-80AD-7E09334BB852}" -User estherv -AccessRights FullAccess -InheritanceType All -AutoMapping $false
This example assigns members of the Helpdesk mail-enabled security group the Full Access permission to the shared mailbox named Helpdesk Tickets.
Add-MailboxPermission -Identity "Helpdesk Tickets" -User Helpdesk -AccessRights FullAccess -InheritanceType All
This example removes Full Access permission for Jim Hance from Ayla Kol's mailbox.
Remove-MailboxPermission -Identity ayla -User "Jim Hance" -AccessRights FullAccess -InheritanceType All
For detailed syntax and parameter information, see:
How do you know this worked?
To verify that you've successfully assigned or removed the Full Access permission for a delegate on a mailbox, use either of the following procedures:
-
In the properties of the mailbox in the EAC, verify the delegate is or isn't listed in Mailbox delegation > Full Access.
-
Replace <MailboxIdentity> with the identity of the mailbox and run the following command in Exchange Online PowerShell to verify that the delegate is or isn't listed..
PowerShellCopyGet-MailboxPermission <MailboxIdentity> | where {$_.AccessRights -like 'Full*'} | Format-Table User,Deny,IsInherited,AccessRights -Auto
For more information, see Get-MailboxPermission.
Use Exchange Online PowerShell to assign the Send As permission to mailboxes and groups
You use the Add-RecipientPermission and Remove-RecipientPermission cmdlets to manage the Send As permission for mailboxes and groups. These cmdlets use the same basic syntax:
<Add-RecipientPermission | Remove-RecipientPermission> -Identity <MailboxOrGroupIdentity> -Trustee <DelegateIdentity> -AccessRights SendAs
This example assigns the Send As permission to the Printer Support group on the shared mailbox named Contoso Printer Support.
Add-RecipientPermission -Identity "Contoso Printer Support" -Trustee "Printer Support" -AccessRights SendAs
This example removes the Send As permission for the user Karen Toh on the mailbox for Yan Li.
Remove-RecipientPermission -Identity "Yan Li" -Trustee "Karen Toh" -AccessRights SendAs
For detailed syntax and parameter information, see:
How do you know this worked?
To verify that you've successfully assigned or removed the Send As permission for a delegate on a mailbox or group, use either of the following procedures:
-
In the properties of the mailbox or group in the EAC, verify the delegate is or isn't listed in Mailbox delegation > Send As or Group delegation > Send As.
-
Replace <MailboxIdentity> and <DelegateIdentity> with the name, alias, or email address of the mailbox or group and run the following command in Exchange Online PowerShell to verify that the delegate is or isn't listed.
PowerShellCopyGet-RecipientPermission -Identity <MailboxIdentity> -Trustee <DelegateIdentity>
Use Exchange Online PowerShell to assign the Send on Behalf permission to mailboxes and groups
You use the GrantSendOnBehalfTo parameter on the various mailbox and group Set- cmdlets to manage the Send on Behalf permission for mailboxes and groups:
-
Set-Mailbox
-
Set-DistributionGroup: Distribution groups and mail-enabled security groups.
-
Set-DynamicDistributionGroup
-
Set-UnifiedGroup: Microsoft 365 groups.
The basic syntax for these cmdlets is:
<Cmdlet> -Identity <MailboxOrGroupIdentity> -GrantSendOnBehalfTo <Delegates>
The GrantSendOnBehalfTo parameter has the following options for delegate values:
-
Replace existing delegates: <DelegateIdentity> or "<DelegateIdentity1>","<DelegateIdentity2>",...
-
Add or remove delegates without affecting other delegates: @{Add="\<value1\>","\<value2\>"...; Remove="\<value1\>","\<value2\>"...}
-
Remove all delegates: Use the value $null.
This example assigns the delegate Holly Holt the Send on Behalf permission to the mailbox of Sean Chai.
Set-Mailbox -Identity seanc@contoso.com -GrantSendOnBehalfTo hollyh
This example adds the group tempassistants@contoso.com to the list of delegates that have Send on Behalf permission to the Contoso Executives shared mailbox.
Set-Mailbox "Contoso Executives" -GrantSendOnBehalfTo @{Add="tempassistants@contoso.com"}
This example assigns the delegate Sara Davis the Send on Behalf permission to the Printer Support distribution group.
Set-DistributionGroup -Identity printersupport@contoso.com -GrantSendOnBehalfTo sarad
This example removes the Send on Behalf permission that was assigned to the administrator on the All Employees dynamic distribution group.
Set-DynamicDistributionGroup "All Employees" -GrantSendOnBehalfTo @{Remove="Administrator"}
How do you know this worked?
To verify that you've successfully assigned or removed the Send on Behalf permission for a delegate on a mailbox or group, use either of the following procedures:
-
In the properties of the mailbox or group in the EAC, verify the delegate is or isn't listed in Mailbox delegation > Send As or Group delegation > Send As.
-
Replace <MailboxIdentity> or <GroupIdentity> with the identity of the mailbox or group and run the one of the following commands in Exchange Online PowerShell to verify that the delegate is or isn't listed.
-
Mailbox:
PowerShellCopyGet-Mailbox -Identity <MailboxIdentity> | Format-List GrantSendOnBehalfTo
-
Distribution group or mail-enabled security group:
PowerShellCopyGet-DistributionGroup -Identity <GroupIdentity> | Format-List GrantSendOnBehalfTo
-
Dynamic distribution group:
PowerShellCopyGet-DynamicDistributionGroup -Identity <GroupIdentity> | Format-List GrantSendOnBehalfTo
-
Microsoft 365 group:
PowerShellCopyGet-UnifiedGroup -Identity <GroupIdentity> | Format-List GrantSendOnBehalfTo
-
Next steps
For more information about how delegates can use the permissions that are assigned to them on mailboxes and groups, see the following topics:
Source
Comments
0 comments
Please sign in to leave a comment.