These Microsoft 365 admin center processes check for any account marked for deletion and remove it. A user is deleted and removed through Active Directory synchronization. The default retention period for OneDrive is also 30 days, but you can change this in the SharePoint admin center.