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
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
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.
- Configure App Management Service by goings to Application Management > Manage service applications.
- Click New > App Management Service.
- Configure App Management Service.
- Make Sure that it has been created and started properly.
- Go back to SharePoint Designer > Workflow > Open your workflow > Click Publish.
- The workflow should be published and worked properly now.
Applies To
- SharePoint 2016.
- SharePoint 2013.
- SharePoint 2013.
You might also like to read
- SharePoint Designer 2013: HTTP service located at AppMng.svc is unavailable
- App Management Shared Service Proxy is not installed.
- SharePoint Workflow Suspended with Unauthorized 401.
- Workflow Manager Health Checklist for SharePoint 2019.
- Configure Workflow Manager SharePoint 2016.
- Configure Workflow Manager SharePoint 2013.
- Service Bus Message Broker Stuck on Starting.