Upravit

Sdílet prostřednictvím


Get-MailboxIRMAccess

This cmdlet is available only in the cloud-based service.

Use the Get-MailboxIRMAccess cmdlet to view delegate access to IRM-protected messages in other mailboxes (shared mailboxes or user mailboxes where delegates have Full Access permission).

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-MailboxIRMAccess
   [[-Identity] <MailboxIdParameter>]
   [-User <SecurityPrincipalIdParameter>]
   [<CommonParameters>]

Description

Note

This cmdlet works only for delegates who already have Full Access permission to the mailbox. For more information, see Manage permissions for recipients in Exchange Online.

Delegates with Full Access permission to the mailbox who don't appear in the results of this cmdlet have access to IRM-protected messages. Only Full Access delegates who are blocked from reading IRM-protected messages in the mailbox appear in the results.

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-MailboxIRMAccess -Identity lynette@contoso.onmicrosoft.com

This example returns information about delegate access to IRM-protected messages in Lynette's mailbox:

  • Full Access delegates who appear in the results are blocked from reading IRM-protected messages in the mailbox.
  • Full Access delegates who don't appear in the results can read IRM-protected messages in the mailbox.

Example 2

Get-MailboxIRMAccess -Identity lynette@contoso.onmicrosoft.com -User chris@contoso.onmicrosoft.com

This example returns information about delegate Chris' access to IRM-protected messages in Lynette's mailbox.

Parameters

-Identity

The Identity parameter specifies the mailbox where you want to view delegate access to IRM-protected messages. You can use any value that uniquely identifies the mailbox. For example

  • Name
  • Alias
  • Distinguished name (DN)
  • Canonical DN
  • Domain\Username
  • Email address
  • GUID
  • LegacyExchangeDN
  • SamAccountName
  • User ID or user principal name (UPN)
Type:MailboxIdParameter
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online

-User

The User parameter filters the results in the mailbox by the specified delegate. The delegate must be a user mailbox or a mail user. You can use any value that uniquely identifies the delegate. For example:

  • Name
  • Alias
  • Distinguished name (DN)
  • Canonical DN
  • Domain\Username
  • Email address
  • GUID
  • LegacyExchangeDN
  • SamAccountName
  • User ID or user principal name (UPN)
Type:SecurityPrincipalIdParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online