I have just checked what happens to the content created by a user that I deactivate in Teams. As expected, all content remains and retain the username, but the username is now a s simple text instead of the link to the user's profile. This is OK.
By accessing https://stackoverflow.com/c/{team}/users/{user_id}/
I can see the following info:
User was deleted on 3/18/2019 5:50:28 PM User: {user_name} (4) (Account.Id=15555780) deleted by Alex Dragan (1) Reason: Deactivation
Last seen from IP: xxx.xxx.xxx.xxx
- a link to the user's posts
However, when trying to access the posts - https://stackoverflow.com/admin/posts-by-deleted-user/{user_id}
- I receive a 404 error:
Of course, this is a minor thingy, but it would be nice to work though.