We have a lot of anonymous users stored in our database, with created dates going months back. Why are they not removed automatically? It's easy of course to have a scheduled event remove anonymous users created more than x hours ago, but shouldn't Mendix take care of that? Could it be that existing anynomous users remain stored when the app is restarted or are there other, more useful, scenarios? Should (can) we prevent it?
see https://docs.mendix.com/refguide/anonymous-users, which states:
Clean up objects that were attached to the anonymous user and that you do not transfer to the signed-in user. Since the anonymous user is deleted after running the sign-in microflow, you can use delete behavior to automatically clean objects that were attached to the anonymous user.