Hello Tanvir,
Removing stale accounts is an important part of enhancing an organizations security posture. Microsoft's documentation on how to handle inactive user accounts can be found here. It provides details on:
- How to find stale accounts.
- General information on how often you need to find stale accounts and remove them.
- What steps are to be taken before permanently deleting the accounts.
If this answers your question, kindly "Accept Answer" and Upvote to help others with similar questions.