Hi, @ige dan
Thank you for posting in Microsoft Q&A forum.
To address inactive SCCM clients, you need to configure the client status settings in Configuration Manager.
These settings specify the parameters that the site uses to mark clients as inactive.
Additionally, you can configure options to alert you if client activity falls below a specified threshold.
For your reference:
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".