Remove EntraIDExpiredGroupLifecycle
Skript Beschreibung
**Zusammenfassung**: Simulates or enforces cleanup of M365 Groups based on custom criteria (pseudo-Lifecycle Policy).
Finds Unified Groups (Teams/SharePoint) that have not been renewed or active.
This is for tenants WITHOUT P1/P2 licenses for automatic Lifecycle Policies.
Checks: RenewedDateTime (if available) or CreatedDateTime.
Action: Soft Delete (Move to Deleted Items) if -Confirm is passed.
Skript Infos
Autor
Mattia Cirillo
Version
1.0
Sprache
PowerShell
113_Remove-EntraIDExpiredGroupLifecycle.ps1