Fix Exchange Online Error Executing Cmdlet for Send on Behalf
Question details
Users are unable to add a Send on Behalf delegate via the Exchange admin center due to a system error message.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Attempting to add a user to the Send on Behalf delegation in the Microsoft 365 Exchange admin center.
- Observed behavior
- The interface displays an 'Error executing cmdlet' message, even though other permissions like Send As and Read and Manage are working properly.
Ensure you have Exchange Administrator privileges and have the Exchange Online PowerShell V3 module installed to apply the command-line workaround.
Add Send on Behalf Permission via Exchange Online PowerShell
Since the error is isolated to the Exchange admin center interface, using PowerShell bypasses the UI glitch and successfully grants the permission.
This is the primary workaround while Microsoft investigates the user interface issue. You will need to connect to your Exchange Online environment via PowerShell to execute the cmdlet manually.
Open PowerShell as an administrator and run the command 'Connect-ExchangeOnline'. Sign in with your global or Exchange administrator credentials.
Run the command: Set-Mailbox -Identity "TargetMailbox" -GrantSendOnBehalfTo @{Add="DelegateEmail"} to apply the permissions manually.
Run Get-Mailbox -Identity "TargetMailbox" | Format-List GrantSendOnBehalfTo to ensure the delegate was successfully added.

Contact Microsoft 365 Support
Because this is a known interface bug in the Exchange admin center, Microsoft support engineers need to collect tenant logs to permanently resolve the UI issue.
Looking for a Lightweight, Bug-Free Office Suite?
While complex Exchange Online backend issues require Microsoft support, you can ensure a smooth, error-free experience for your daily document tasks with WPS Office. It provides a lightweight, highly compatible alternative to standard office applications.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Application: Run the downloaded installer and follow the on-screen instructions to complete the setup in minutes.
- 3. Open Your Office Files: Launch WPS Office and directly open your existing .docx, .xlsx, and .pptx files without needing any format conversion.

Frequently Asked Questions
Why do 'Send As' permissions work while 'Send on Behalf' fails?
This is typically caused by an isolated sync bug or UI error in the Exchange admin center that specifically impacts the cmdlet tied to Send on Behalf delegations, leaving other permission cmdlets unaffected.
Do I need special permissions to run the PowerShell workaround?
Yes, you must be assigned the Exchange Administrator role or Global Administrator role in Microsoft 365 to successfully connect to Exchange Online PowerShell and run the Set-Mailbox cmdlet.
Will the PowerShell delegation show up in the Exchange admin center later?
Yes. Even if the admin center interface fails to set the permission, permissions assigned via PowerShell will correctly synchronize and reflect in the admin center UI and Microsoft Outlook.




