Commands › Exchange Online

Set-ThrottlingPolicyAssociation

Exchange Online ExchangeOnlineManagement Set-*

Associate a throttling policy with a specific object. The object can be a user with a mailbox, a user without a mailbox, a contact, or a computer account. **Note**: Some parameters in the throttling policy (for example, MessageRateLimit) apply only to objects that have mailbox GUIDs (mailboxes or remote mailboxes) and don't apply to mail users. And, if you want to apply throttling policy to a remote mailbox, first populate the remote mailbox with an ExchangeGUID by using Set-RemoteMailbox -ExchangeGUID.

Quick start script

# Set-ThrottlingPolicyAssociation — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-ThrottlingPolicyAssociation
$before | Format-List

# 3. Make the change (dry run first)
Set-ThrottlingPolicyAssociation -Identity <ThrottlingPolicyAssociationIdParameter> -WhatIf
Set-ThrottlingPolicyAssociation -Identity <ThrottlingPolicyAssociationIdParameter>

# 4. Verify and diff
$after = Get-ThrottlingPolicyAssociation
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-ThrottlingPolicyAssociation [-Identity] <ThrottlingPolicyAssociationIdParameter>
 [-Confirm]
 [-DomainController <Fqdn>]
 [-ThrottlingPolicy <ThrottlingPolicyIdParameter>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (5)

ParameterTypeRequiredWhat it controls
-Identity ThrottlingPolicyAssociationIdParameter yes The Identity parameter specifies the object to which you want to associate a throttling policy. The object can be a user with a mailbox, a user without a mailbox, a contact, or a computer account.
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-DomainController Fqdn 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...
-ThrottlingPolicy ThrottlingPolicyIdParameter The ThrottlingPolicy parameter specifies the throttling policy that you want the object specified by the Identity parameter to be associated with.
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. You don't need to specify a value with this switch.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.