O365-scripts o365-set-legacy-protocols-all-mailboxes.ps1 Enable or disable IMAP, POP, MAPI, and ActiveSync across all mailboxes on a O365 tenant o365-set-legacy-protocols-all-mailbox-plans.ps1 Enable or disable IMAP, POP, and ActiveSync across all mailbox plans on a O365 tenant Note: MAPI can not be disabled