This issue happens because Apple removed Python from macOS 12.3 required by installing KESMac.
Our version on the site fixes this problem, but KESCloud doesn't have this version for KESMac yet.
This version will be available from the 3rd quarter.
As a palliative way, if you can run out of management via KESCloud, uninstall KESMac and Network Agent and download this version below and install on Mac's
https://www.kaspersky.com/small-to-medium-business-security/downloads/endpoint.
If you have Mac OS older than version 12.3, please install KESMac via KESCloud before updating macOS.
I understand that in case you can't do without management, unfortunately at the moment this would be the only palliative solution until KESMac is available for the console in Q3