Administrative limit for this request was exceeded error when you add recipient domains to outbound connector
- eslameslam463
- Dec 30, 2024
- 2 min read

Symptoms
When you try to add recipient domains to any of the outbound connectors in Microsoft Exchange Online, you receive the following error message:
The administrative limit for this request was exceeded.
Cause
This issue occurs if the list of recipient domains on an outbound connector contains more than 1266 domains.
Resolution
To resolve this issue, follow these steps:
Make sure that the number of domains that are added to the outbound connector in the list of recipient domains is not greater than 1266.
For additional domains, create a new outbound connector that has a similar configuration to the one that triggers the error. Add the remaining domains to the newly created outbound connector.
To determine the number of domains in the existing connector, run the following cmdlet in Exchange Online PowerShell:
PowerShellCopy
$outboundconnector=get-outboundconnector "Name of the outbound connector" $outboundconnector.recipientdomains.count
To add the new set of domains to the existing connector through PowerShell without having to add each one manually through Exchange Online admin center, follow these steps:
Create a .csv file that lists all the domains, and make sure there's a column heading. In the following example, the column heading name is Domainname:
Expand table
Import the data from the .csv file to a variable that's named domainname:
PowerShellCopy
$domainname=Import-Csv -Path "Actual path of the csv file"
Append the domains to the existing set of domain names by running the following cmdlet:
PowerShellCopy
foreach ($entry in $domainname){$outboundconnector.RecipientDomains+=$entry.domainname}
Note
$outboundconnector is populated with the cmdlet from step 3.
The current line item is put in the $entry variable.
To use the value in the column heading, you must use $entry.columnname ($entry.domainname).
Commit the changes to the outbound connector by running the following cmdlet:
PowerShellCopy
Set-OutboundConnector $outboundconnector.identity -recipientdomains $outboundconnector
Have a question or need help! Contact me 😊❤️
Comments