Errors were found when compiling the workflow SharePoint Designer 2013

In this post we will solve Errors were found when compiling the workflow SharePoint Designer 2013 issue that you may face when you try to publish a new workflow using SharePoint Designer 2013.


Errors were found when compiling the workflow

In SharePoint 2013 and 2016, I have created a new workflow using SharePoint Designer 2013, but when I clicked publish, I got the following error:

“Errors were found when compiling the workflow The workflow files were saved but cannot be run.”

Details:Microsoft.SharePoint.SPException: 
App Management Shared Service Proxy is not installed.
at Microsoft.SharePoint.AppRegistration.GetProxy(SPServiceContext serviceContext)
at Microsoft.SharePoint.AppRegistration.AddOrUpdateAppNoPermissionCheck
(SPAppPrincipalInfo appInfo)
at Microsoft.SharePoint.SPAppPrincipalManager
Errors were found when compiling the workflow SharePoint Designer 2013

Root Cause

There are many causes that raise this error “Errors were found when compiling the workflow SharePoint Designer 2013“, but in my case, the App Management Service was not started or it is not configured.

Please check other root causes for this issue at App Management Shared Service Proxy is not installed

Solving Errors were found when compiling the workflow SharePoint Designer 2013

Steps

  • Open Central administration as Administrator/farm account.
  • Below System Settings > Click on manage services on the server.
  • Check  App Management Service status. if it stopped, try to start it.
App Management Service stopped
  • Configure App Management Service by goings to Application Management > Manage service applications.
  • Click New > App Management Service.
Add App Management Service
  • Configure App Management Service.
Configure App Management Service
  • Make Sure that it has been created and started properly.
App Management Service Provisioned
  • Go back to SharePoint Designer > Workflow > Open your workflow > Click Publish.
  • The workflow should be published and worked properly now.
Publish Workflow

Applies To
  • SharePoint 2016.
  • SharePoint 2013.
  • SharePoint 2013.
You might also like to read

Leave a Reply

Scroll to Top