Applies to Product – Dynamics 365 Finance
What’s happening?
The customer reported an issue with email parameters not functioning properly due to a full mailbox, indicated by the error message "5.2.2 Mailbox full." This problem has caused the system to stop sending emails, affecting all users configured for email alerts, which is critical for their production environment.
Reason:
The error message "5.2.2 Mailbox full" indicates that the mailbox has exceeded its quota.
Resolution:
- Check Mailbox Quota:
- Use the following PowerShell commands in Exchange Online PowerShell:
- Get-MailboxStatistics -Identity MailboxIdentity | FL TotalItemSize
- Get-Mailbox -Identity MailboxIdentity | FL ProhibitSendQuota, ProhibitSendReceiveQuota
- Increase Mailbox Quota:
- If the mailbox has exceeded its quota, increase the quota using the following PowerShell command:
- Set-Mailbox -Identity MailboxIdentity -ProhibitSendQuota 100GB -ProhibitSendReceiveQuota 110GB
- Clear Mailbox:
- If increasing the quota is not feasible, consider clearing out old or unnecessary emails to free up space. This can be done manually or by setting up retention policies.
- Monitor and Prevent Future Issues:
- Implement monitoring to alert when mailboxes are nearing their quota.
- Educate users on managing their mailbox size effectively.
- Refer to Official Documentation:
- Detailed steps on how to handle mailbox quota issues can be found in the official Microsoft documentation:
- NDR error 554 5.2.2 mailbox full when sending email to mail-enabled public folders - Exchange | Microsoft Learn
- (Mailbox is full) warning when it hasn't reached quota - Microsoft 365 | Microsoft Learn
- A discussion on resolving the "5.2.2 Mailbox full" error can be found in the Microsoft Community.
