Skip to main content

Get-ExMailboxPermission

SYNOPSIS

Gets all permissions on an Exchange Online mailbox (Full Access, Send As, Send on Behalf)

SYNTAX

DESCRIPTION

This function retrieves and displays all permissions granted on a specific mailbox:
  • Full Access: Full access permissions to the mailbox
  • Send As: Permissions to send emails as the mailbox
  • Send on Behalf: Permissions to send emails on behalf of the mailbox

EXAMPLES

EXAMPLE 1

Gets all permissions for the mailbox john.doe@contoso.com

EXAMPLE 2

Gets all permissions for the mailbox and exports them to an Excel file

EXAMPLE 3

Gets all permissions for all mailboxes in the contoso.com domain

EXAMPLE 4

Finds all mailbox permissions that john.doe@contoso.com has across all mailboxes

PARAMETERS

-ByDomain

Filter mailboxes by domain name

-ExportPath

Optional output directory for the Excel export (defaults to the user profile).

-ExportToExcel

Export the mailbox permissions to an Excel file

-Identity

The identity of the mailbox (email address, username, or display name)

-UserPermission

Find all permissions that a specific user has across all mailboxes (reverse lookup)

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

Not documented.

OUTPUTS

NOTES

Requires the ExchangeOnlineManagement module and an active connection to Exchange Online For Excel export functionality, requires the ImportExcel module