SharePoint 2013 Workflow development with VS and App Management Shared Service Proxy RRS feed

  • Question

  • Hi,

    I'm trying to develop a SharePoint 2013 workflow in Visual Studio (declarative WF). I've not configured app related settings in the farm as my client doesn't want to explore apps just right now. When I was trying to deploy my Visual Studio solution to SharePoint site, I'm getting the deployment error in VS:

       Error occurred in deployment step 'Activate Features': Microsoft.SharePoint.SPException: App Management Shared Service Proxy is not installed.
       at Microsoft.SharePoint.AppRegistration.AddOrUpdateAppNoPermissionCheck(SPAppPrincipalInfo appInfo)
       at Microsoft.SharePoint.SPAppPrincipalManager.RegisterWithInternalDirectory(SPAppPrincipalIdentityProvider identityProvider, String nameIdentifier, String displayName, List`1 appEndpointAuthorities, List`1 redirectAddresses, Boolean delegateAppPermissions, Boolean isInternalDirectoryApp)
       at Microsoft.SharePoint.SPAppPrincipalManager.CreateAppPrincipal(SPExternalAppPrincipalCreationParameters creationParameters)
       at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.EnsureAppPrincipal(SPWeb elevatedWeb)
       at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.<SetupApplicationEcosystem>b__3()
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.SetupApplicationEcosystem()
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishDefinition(WorkflowDefinition workflowDefinition)
       at Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionStorageEventReceiver.PublishDefinition(SPItemEventProperties properties)

    Maybe or maybe not, configuring app management service will fix the problem. But my concern, is it required to configure SharePoint app settings in the farm to run SharePoint 2013 workflow?

    Sohel Rana

    • Edited by Sohel Rana Friday, January 25, 2013 1:35 AM
    Friday, January 25, 2013 1:33 AM


  • Hi,

    To resolve the exception, it's not needed to configure apps. Just provisioning App Management Service will do. My client doesn't want to use SharePoint Apps just now and we don't want to spend time configuring Apps as every hour costs. WF Manager uses App Management service under the hood, as it seems, and if App Management Service is up and running (without setting up Apps domain), Workflow will work fine if there's no other issue.

    Sohel Rana

    • Edited by Sohel Rana Wednesday, February 13, 2013 12:37 AM
    • Marked as answer by Sohel Rana Wednesday, February 13, 2013 12:38 AM
    Wednesday, February 13, 2013 12:37 AM

All replies