@Vasilije Djurovic Thank you for reaching out to us, Did you get a chance to review this feature in Microsoft Entra ID - https://learn.microsoft.com/en-us/entra/id-governance/what-are-lifecycle-workflows
Lifecycle workflows are a new identity governance feature that enables organizations to manage Microsoft Entra users by automating these three basic lifecycle processes:
- Joiner: When an individual enters the scope of needing access. An example is a new employee joining a company or organization.
- Mover: When an individual moves between boundaries within an organization. This movement might require more access or authorization. An example is a user who was in marketing and is now a member of the sales organization.
- Leaver: When an individual leaves the scope of needing access. This movement might require the removal of access. Examples are an employee who's retiring or an employee who's terminated.
Hope this feature helps in achieving your end goal, let me know if you have any further questions, feel free to post back.