Commands › Exchange Online
Set-ThrottlingPolicyAssociation
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.