All Products
Search
Document Center

Alibaba Mail:Set a delegate account for an Exchange mailbox

Last Updated:Jan 22, 2026

What is a delegate account?

A delegate account is an account that is granted permission to access another person's mailbox or resources.

Set mailbox delegation

Open the Exchange Management Shell.

image

1. Run the command

This command grants the delegate account `superman@example.com` full access to all UserMailbox accounts.

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')-and(Alias -ne 'superman@example.com')}|Add-MailboxPermission -User superman@example.com -AccessRights fullaccess -InheritanceType all -AutoMapping $false

The command consists of two parts that run together:

  1. Get-Mailbox: Filters mailboxes that meet the specified criteria.

  2. Add-MailboxPermission: Adds permissions to the filtered mailboxes.

Note

Create one or more new accounts to use as delegate accounts, such as `superman@example.com`. Do not use the default admin account.

image

2. Verify the authorization

Method 1: Logon validation

To verify the authorization, log on to the delegate mailbox, for example, the `superman` Exchange mailbox. Then, attempt to open another user's mailbox. Search for an employee mailbox to which you were granted access. If you can open that mailbox, the authorization is successful.

imageimage

Note

When you search for a user, contacts from outside your Exchange organization may also appear. Be sure to select the correct account. Selecting the wrong account during testing increases troubleshooting time.image

Method 2: Command line

The `{FullAccess}` permission indicates that the authorization was successful.

Verify a single account

Get-MailboxPermission -Identity "user@example.com" | Where-Object {$_.User -like "superman"} | Format-List -Property Identity, User, AccessRights, IsInherited, AutoMapping

image

Verify all accounts

Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission -User superman@example.com | Format-List Identity, User, AccessRights, IsInherited, AutoMapping

image