Skript Beschreibung
Zusammenfassung: Simulates or enforces cleanup of M365 Groups based on custom criteria (pseudo-Lifecycle Policy).
Prüfstatus: Ungeprüft
Windows- und Tenant-Abnahme ausstehend; keine pauschale Produktionsfreigabe.
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.