Add-MailboxPermission (ExchangePowerShell) By chrisda Archived: 2026-04-05 20:11:41 UTC In this article 1. Syntax 2. Description 3. Examples 4. Parameters 5. Inputs 6. Outputs This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings might be exclusive to one environment or the other. Use the Add-MailboxPermission cmdlet to add permissions to a mailbox or to an Exchange Server 2016, Exchange Server 2019, or Exchange Online mail user. For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. Syntax AccessRights Add-MailboxPermission [-Identity] -AccessRights -User [-AutoMapping ] [-Confirm] [-Deny] [-DomainController ] [-GroupMailbox] [-IgnoreDefaultScope] [-InheritanceType ] [-WhatIf] [] Owner https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 1 of 15 Add-MailboxPermission [-Identity] -Owner [-Confirm] [-DomainController ] [-GroupMailbox] [-IgnoreDefaultScope] [-WhatIf] [] Instance Add-MailboxPermission [[-Identity] ] -Instance [-AccessRights ] [-User ] [-AutoMapping ] [-Confirm] [-Deny] [-DomainController ] [-GroupMailbox] [-IgnoreDefaultScope] [-InheritanceType ] [-WhatIf] [] Description Note You can use this cmdlet to add a maximum of 500 permission entries (ACEs) to a mailbox. To grant permissions to more than 500 users, use security groups instead of individual users for the User parameter. Security groups contain many members, but only count as one entry. You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't 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 https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 2 of 15 Add-MailboxPermission -Identity "Terry Adams" -User "Kevin Kelly" -AccessRights FullAccess -InheritanceType All This example assigns the user Kevin Kelly Full Access permission to Terry Adams's mailbox. Example 2 Add-MailboxPermission -Identity "Room 222" -Owner "Tony Smith" This example sets the user Tony Smith as the owner of the resource mailbox named Room 222. Example 3 Add-MailboxPermission -Identity "Jeroen Cool" -User "Mark Steele" -AccessRights FullAccess -InheritanceType All This example assigns the user Mark Steele Full Access permission to Jeroen Cool's mailbox, prevents Outlook from opening Jeroen Cool's mailbox when Mark Steele opens Outlook. Example 4 Get-Mailbox -ResultSize unlimited -Filter "(RecipientTypeDetails -eq 'UserMailbox') -and (Alias -ne 'Admin')" In Exchange Online, this example assigns the administrator account admin@contoso.com Full Access permission to all user mailboxes in the contoso.com organization. Parameters -AccessRights Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The AccessRights parameter specifies the permission that you want to add for the user on the mailbox. Valid values are: ChangeOwner ChangePermission DeleteItem ExternalAccount FullAccess ReadPermission You can specify multiple values separated by commas. https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 3 of 15 You can't use this parameter with the Owner parameter. Parameter properties Type: MailboxRights[] Default value: None Supports wildcards: False DontShow: False Parameter sets AccessRights Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False Instance -AutoMapping Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The AutoMapping parameter includes or excludes the mailbox from the auto-mapping feature in Microsoft Outlook. Auto-mapping uses Autodiscover to automatically add mailboxes to a user's Outlook profile if the user has Full Access permission to the mailbox. However, Autodiscover doesn't enumerate security groups that have Full Access permission to the mailbox. Valid values are: $true: The mailbox is automatically added to the user's Outlook profile if the user has Full Access permission. This value is the default. $false: The mailbox is not automatically added to the user's Outlook profile if the user has Full Access permission. Note: To disable auto-mapping for a mailbox where the user was already assigned Full Access permission, you need to remove the user's Full Access permission by using the Remove-MailboxPermission cmdlet, and then reassign the user Full Access permission on the mailbox using the AutoMapping parameter with the value $false. https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 4 of 15 Parameter properties Type: Boolean Default value: $true Supports wildcards: False DontShow: False Parameter sets AccessRights Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False Instance -Confirm Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding. Destructive cmdlets (for example, Remove-* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: -Confirm:$false . Most other cmdlets (for example, New-* and Set-* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding. Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 5 of 15 DontShow: False Aliases: cf Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -Deny Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The Deny switch specifies that the permissions you're adding are Deny permissions. You don't need to specify a value with this switch. Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets AccessRights Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 6 of 15 Instance -DomainController Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE This parameter is available only in on-premises Exchange. The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com. Parameter properties Type: Fqdn Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -GroupMailbox Applicable: Exchange Online This parameter is available only in the cloud-based service. The GroupMailbox switch is required to add permissions to a Microsoft 365 Group mailbox. You don't need to specify a value with this switch. Parameter properties https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 7 of 15 Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets AccessRights Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False Owner Instance -Identity Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The Identity parameter specifies the mailbox where you want to assign permissions to the user. 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) Parameter properties Type: MailboxIdParameter https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 8 of 15 Default value: None Supports wildcards: False DontShow: False Parameter sets AccessRights Position: 1 Mandatory: True Value from pipeline: True Value from pipeline by property name: True Value from remaining arguments: False Owner Instance -IgnoreDefaultScope Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope. You don't need to specify a value with this switch. This switch enables the command to access Active Directory objects that aren't currently available in the default scope, but also introduces the following restrictions: You can't use the DomainController parameter. The command uses an appropriate global catalog server automatically. You can only use the DN for the Identity parameter. Other forms of identification, such as alias or GUID, aren't accepted. Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 9 of 15 Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -InheritanceType Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The InheritanceType parameter specifies how permissions are inherited by folders in the mailbox. Valid values are: None All (this is the default value) Children Descendents [sic] SelfAndChildren Parameter properties Type: ActiveDirectorySecurityInheritance Default value: All Supports wildcards: False DontShow: False Parameter sets AccessRights Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 10 of 15 Value from remaining arguments: False Instance -Instance Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE This parameter is available only in on-premises Exchange. This parameter is deprecated and no longer used. Parameter properties Type: MailboxAcePresentationObject Default value: None Supports wildcards: False DontShow: False Parameter sets Instance Position: Named Mandatory: True Value from pipeline: True Value from pipeline by property name: True Value from remaining arguments: False -Owner Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The Owner parameter specifies the owner of the mailbox object. You can specify the following types of users or groups (security principals) for this parameter: Mailbox users Mail users Security groups https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 11 of 15 You can use any value that uniquely identifies the user or group. For example: Name Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) The default mailbox owner is NT AUTHORITY\SELF. You can't use this parameter with the AccessRights or User parameters. Parameter properties Type: SecurityPrincipalIdParameter Default value: None Supports wildcards: False DontShow: False Parameter sets Owner Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -User Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The User parameter specifies who gets the permissions on the mailbox. You can specify the following types of users or groups (security principals) for this parameter: https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 12 of 15 Mailbox users Mail users Mail-enabled security groups (non-mail-enabled security groups are selectable, but they don't work) Note: When a mail-enabled security group is used to specify Full Access permissions, the auto-mapping feature doesn't automatically add the mailbox in Outlook for the group member. For more information, see Mailboxes to which your account has full access aren't automapped to Outlook profile. For the best results, we recommend using the following values: UPN: For example, user@contoso.com (users only). Domain\SamAccountName: For example, contoso\user . Otherwise, you can use any value that uniquely identifies the user or group. For example: Name Alias Distinguished name (DN) Canonical DN Domain\Username Email address GUID LegacyExchangeDN SamAccountName User ID or user principal name (UPN) You can't use this parameter with the Owner parameter. Parameter properties Type: SecurityPrincipalIdParameter Default value: None Supports wildcards: False DontShow: False Parameter sets AccessRights Position: Named Mandatory: True Value from pipeline: False https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 13 of 15 Value from pipeline by property name: False Value from remaining arguments: False Instance -WhatIf Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch. Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: wi Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 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 https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 14 of 15 Input types To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn't accept input data. Outputs Output types To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn't return data. Source: https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps Page 15 of 15