Sitecore Insiders

Failed to start service Sitecore Marketing Automation Engine

Failed to start service Sitecore Marketing Automation Engine error, during Sitecore 10 XP1 OnPrem installation

During the installation of Sitecore 10.0.1 XP1 (Single Developer) OnPrem, I experienced the above-mentioned error: “Failed to start service Sitecore Marketing Automation Engine”

The installation script (XP1-SingleDeveloper.ps1) stucks when trying to start the Sitecore Marketing Automation Engine service.

Even starting the service manually or request the MA server role via browser, the MA Engine always crashing on start.


After several tests and with Sitecore Support help, we found which these types of errors happen due to System.AccessViolationException exception which is thrown on license check.

This issue is caused by a profiling tool that is running on the server. In our case, Microsoft Monitoring Agent was the cause of the problem.

After removal, the installation scripts run perfectly!

Pedro Luis

Senior Developer at Noesis, I'm a certified in Sitecore since 2017. I also win the Sitecore Hackathon 2019 by creating the best extension of the editing experience for SXA in Experience Editor. The next goal is the MVP status. Let's go!


  • Hi, I have the same problem installing Sitecore 10.2, no error message that can guide the solution, just The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException

  • I absolutely love your blog and find nearly all of
    your post’s to be just what I’m looking for.

    Does one offer guest writers to write content to suit your needs?
    I wouldn’t mind creating a post or elaborating on a lot of the subjects you write concerning here.
    Again, awesome site!