Werk #16631: check_mailboxes: Fixed handling of error "Not allowed to access Non IPM folder."

Component Other components
Title check_mailboxes: Fixed handling of error "Not allowed to access Non IPM folder."
Date Apr 12, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p43 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Due to a recent change in Microsoft 365, the access to Exchange mailbox folders via the active check check_mailboxes could fail with an error message like this:

Unhandled exception: ErrorAccessDenied('Not allowed to access Non IPM folder.')

With this werk we update the version of the package exchangelib to v5.2.1, fixing the respective error handling.

To the list of all Werks