[GH-ISSUE #4597] [Bug]: False Positive Mailbox Quota Alerts due to Missing Statistics #2119

Closed
opened 2026-03-02 13:49:47 +03:00 by kerem · 4 comments
Owner

Originally created by @STG-Tanner on GitHub (Sep 3, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4597

Required confirmations before submitting

  • I can reproduce this issue on the latest released versions of both CIPP and CIPP-API.
  • I have searched existing issues (both open and closed) to avoid duplicates.
  • I am not requesting general support; this is an actual bug report.

Issue Description

Mailbox quota alerts may generate false positives for newer mailboxes. Mailbox Statistics (/email/reports/mailbox-statistics) for some newer mailboxes may return 'No data' for Quota and Storage Used statistics. This leads to false positive alerts for criteria 'Alert on % mailbox quota used'. Alerts generated for these mailboxes state "Mailbox is 100% full".

Example Mailbox Statistics:
Image

Environment Type

Sponsored (paying) user

Front End Version

v8.3.2

Back End Version

v8.3.2

Relevant Logs / Stack Trace


Originally created by @STG-Tanner on GitHub (Sep 3, 2025). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4597 ### Required confirmations before submitting - [x] **I can reproduce this issue on the latest released versions** of both CIPP and CIPP-API. - [x] **I have searched existing issues** (both open and closed) to avoid duplicates. - [x] I am **not** requesting general support; this is an actual bug report. ### Issue Description Mailbox quota alerts may generate false positives for newer mailboxes. Mailbox Statistics (/email/reports/mailbox-statistics) for some newer mailboxes may return 'No data' for Quota and Storage Used statistics. This leads to false positive alerts for criteria 'Alert on % mailbox quota used'. Alerts generated for these mailboxes state "Mailbox is 100% full". Example Mailbox Statistics: <img width="1818" height="367" alt="Image" src="https://github.com/user-attachments/assets/2cc96ac4-5b08-4e77-bcd9-cbfbdaf65098" /> ### Environment Type Sponsored (paying) user ### Front End Version v8.3.2 ### Back End Version v8.3.2 ### Relevant Logs / Stack Trace ```plaintext ```
Author
Owner

@github-actions[bot] commented on GitHub (Sep 3, 2025):

Thank you for reporting a potential bug. If you would like to work on this bug, please comment:

I would like to work on this please!

Thank you for helping us maintain the project!

<!-- gh-comment-id:3250855067 --> @github-actions[bot] commented on GitHub (Sep 3, 2025): Thank you for reporting a potential bug. If you would like to work on this bug, please comment: > I would like to work on this please! Thank you for helping us maintain the project!
Author
Owner

@screwlooseit commented on GitHub (Sep 4, 2025):

Image Image

Hi We are having the same issue as per Screenshots above

<!-- gh-comment-id:3252370407 --> @screwlooseit commented on GitHub (Sep 4, 2025): <img width="377" height="68" alt="Image" src="https://github.com/user-attachments/assets/79abc783-bfc9-4854-b8b7-b073e41a6d6a" /> <img width="616" height="196" alt="Image" src="https://github.com/user-attachments/assets/52d1d995-2ffa-4236-b658-a47b7a8ad64a" /> Hi We are having the same issue as per Screenshots above
Author
Owner

@Zacgoose commented on GitHub (Sep 5, 2025):

Thanks, @STG-Tanner we will now do null checks in this alert :)

<!-- gh-comment-id:3256938123 --> @Zacgoose commented on GitHub (Sep 5, 2025): Thanks, @STG-Tanner we will now do null checks in this alert :)
Author
Owner

@KelvinTegelaar commented on GitHub (Sep 7, 2025):

Fixed in dev

<!-- gh-comment-id:3263972963 --> @KelvinTegelaar commented on GitHub (Sep 7, 2025): Fixed in dev
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#2119
No description provided.