SOLVED: Error when trying to turn on Automatic Replies (Out of Office) in Outlook. The Out Of Office Rules cannot be displayed. The client operation failed.
You might also get another error "System resources are critically low"
This error is caused by a corrupt inbox rule and can be fixed by deleting the rules using PowerShell
Client-only rules use conditions or actions that are Outlook features. Client rules only run when you have Outlook open.
Server-side rules use Exchange Online conditions or actions. Server-side rules run on the mailbox in Office 365 and are not dependent on the Outlook client.
Get-InboxRule -Mailbox user@domain.com
Copy the rule identity. You'll need this to delete the inbox rule
# Remove one inbox rule using -Identity Remove-InboxRule -Mailbox user@domain.com -Identity 1125502695398965249 -Confirm:$false
# Remove all inbox rules for a mailbox Get-InboxRule -Mailbox "user@domain.com" | Remove-InboxRule
References:
Exchange PowerShell - Get-InboxRule
https://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxruleExchange PowerShell - Remove-InboxRule
by Author
https://docs.microsoft.com/en-us/powershell/module/exchange/remove-inboxrule
Comments