Before starting, I know about DML operations and the order they should be performed in for test cases. Please do not comment on that. These test cases succeed and have been succeeding in partial and production for over 2 years. We recently enabled the Office 365 Outlook Sync Configuration and we started getting test cases failing in production.
first error: MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): Case, original object: S2XUserMap: []
This was once an issue in Winter'18 but has (apparently) been fixed.
https://trailblazer.salesforce.com/issues_view?id=a1p3A0000008gVyQAI
I think my next step is to go through all of the test cases and use a user and profile that is not mapped in the Outlook Office 365 Config. These would be used in just the test case execution.
Our current test cases were written by persona/profile so that we would test specific areas that our code needed to run against. We do create users and use System.runAs() for that test.