The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
Microsoft wants you to keep Exchange on-premise mostly to be sure none of the cloud attributes that route email to and from Office 365 get removed from AD. On paper, they would not help you with support if you got in a bind with your on-premise AD and anything Office 365 / Exchange related as it is not "best practice."
Other options include PowerShell scripts to handle any AD-related functions related to Exchange Online. If you put back an on Premise Exchange, use 2013 / 2016 to run the upgrade to the Schema and prepAD.