The users are by definition ‘deactivated’ as they can no longer log in using the assigned method. While their account names, user preferences, assigned user groups and such are still present, they are not ‘active’ in the sense that the accounts cannot be used.
An automatic cleanup of users is currently not possible when the identity is managed outside of IAM. This is the case for AD users, External authenticated users (OIDC / Entra) and RDBMS users.
Some identity providers implement the SCIM protocol to allow this information to be shared between systems. The Thinkwise Platform does not yet support SCIM.
If you want to clean up inert users, a periodical and possibly automated option should be used. For instance, a PowerShell script. Alternatively, the process of offboarding should include deleting the information from IAM in addition to deactivating the AD account.