If you are looking for completely automated solution, try Azure AD Identity Governance as part of Entitlement Management: https://learn.microsoft.com/en-us/azure/active-directory/governance/entitlement-management-external-users
How to auto delete / remove /revoke guest access in Azure AD after certain time limit has passed?

EnterpriseArchitect
6,041
Reputation points
Using Azure AD Premium P2,
Can Azure AD be configured to automatically delete or purge stale guest accounts older than 60 days?
Are there any policies or scheduled tasks to ensure that this is done on a regular basis?
This method is available but mus be manually executed: https://practical365.com/review-azure-ad-guest-accounts-annually/
Many thanks for considering my request.
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
3,281 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
25,132 questions
Accepted answer
-
Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
2023-05-10T07:00:30.6033333+00:00