Juan Carlos

How to install and configure workflow infrastructure in SharePoint 2013

January 15th, 2013 | Author: | Filed under: CloudShare, Dev / Test, SharePoint | Tags: , , , , , , ,

Workflows are another key area in  SharePoint 2013 where Microsoft has made great investments. In fact, workflow platform is completely new in that it allows creation, usage and deployment of .NET Framework 4.x workflows in a SharePoint 2013 farm. Microsoft has completely redesigned the workflow platform for SharePoint by creating the Windows Azure Workflow Server (WAS) that enables us to completely separate the SharePoint side from the workflow one. Indeed, workflow infrastructure in SharePoint 2013 is completely independent from the SharePoint point of view that consumes and uses workflows through a web services façade.

Workflow infrastructure in SharePoint 2013 is not set up as part of the installation process of the platform. You can install WAS in an independent server or in a web frontend server after you have installed SharePoint 2013. There are two options to install Workflow infrastructure for SharePoint 2013:

Installing Workflow Manager 1.0

To simplify the workflow infrastructure setup, we are going to use the Web Platform Installer option explained above:

  • Download the installer from the web and execute it.
  • In the “Spootlight” tab of the Web Platform Installer, look for the SharePoint workflow components by using the sesrch box.
  • In the search results, click the “Add” button for the Workflow Manager 1.0 row. Then, click the “Install” button.


  • The installation process will install Workflow Manager 1.0 and configure all the necessary dependencies:
    • Execute ASP.NET IIS Registration Tool.
    • IIS Management Service.
    • Service Bus 1.0.
    • Microsoft Windows Fabric.
  • In order to start the installation process, just click the “I accept” button in the wizard.


  • Once the installation process ends, you can start with the configuration as it’s described in the “Configure” step tab of the wizard. Click the “Continue” button so the wizard shows a summary window with all the components installed and configured.


Configuring Workflow Manager 1.0

Once you have installed Workflow Manager 1.0, a configuration window wizard is started:

  • As you can see, there are three possibilities for configuring the Workflow Manager. Just click the first one:


  • In the first configuration window of the wizard, you have to specify parameters like:
    • SQL Server where all the needed databases will be created.
    • Service account.
    • Key for certificates generation.


  • Click the “Next” button in order to start the configuration. In the next window, check that all configurations are right and press the “Configuration” button.


  • If everything is correct with the configuration, the next window will confirm that all configurations are complete without any errors or warnings.


Testing the installation

Well, once you have finished the configuration process you should verify that everything is right:

  • Some databases (5) have been created. You can check databases created by using the SQL Server Management Studio.


  • A new IIS site for workflow management has been created. You can check it by using the IIS Manager.


  • The workflow service endpoint (by means of the site created) is ready to be utilized. You can check it by browsing the Workflow Management Site from IIS Manager.


Associating the workflow service with an existing Site Collection

Well, you are almost done and only need one additional configuration step in order to start creating and deploying SharePoint 2013 workflows: you need register the workflow service with an existing site collection by using the following Register-SPWorkflowService cmdlet. Execute it in the SharePoint 2013 Management Shell. Please ensure you use the following syntax:

Register-SPWorkflowService –SPSite “http://c4968397007/” –WorkflowHostUri “https://c4968397007:12290″ –AllowOAuthHttp

Finally, open SharePoint Designer 2013 and check you can create SharePoint 2013 workflows Sonrisa


And that’s all you need to know about how to setup the workflow infrastructure for SharePoint 2013.

Happy CloudSharing!

About the author:
With more than 10 years of experience in the ICT sector, what best define me is the interest and knowledge of new technologies as a natural way for attending and solving customer problems and needs. My career in the TIC sector, and particularly in the .NET platform started in 2003, just after finishing my studies at the university, in the global worldwide consultancy company Accenture. There, I had the opportunity of working during 3 years in big national and international projects performing different task and roles: development of VB.NET applications, application test and deployment, management of small development teams and so on. In May 2006 I left Accenture and started a new adventure at the Microsoft Innovation Center in Cantabria (CIIN) as a Solutions Architect. In this new stage, I had the opportunity of knowing deeply a variety of Microsoft technologies such as SharePoint, Office 365, Windows Azure, Visual Studio, SQL Server Reporting Services, BizTalk, LINQ, Entity Framework, etc. At the CIIN I haved performed evangelism activities just around these technologies, and I have had the honor of belonging to one of the more specialized organizations in SharePoint in Spain. In October 2013 I joined LKS where I perform a Consultant and Solutions Architect role skilled in SharePoint and Office 365 platforms. My daily work in LKS is focused on providing SharePoint & Office 365 advice and consultancy, specialized training and evangelism in the different projects and LKS customers where I’m involved.

  • Pingback: How to install and configure workflow infrastructure in SharePoint 2013 - NovaTech Consulting Blog()

  • http://www.novatechconsulting.it/ Mario Saccoia

    thanks for post!!!

    • Juan Carlos González

      You are really wellcome

  • http://twitter.com/spbreed Karthik

    Thanks for sharing this..

    • Juan Carlos González

      You are really wellcome

  • http://twitter.com/BruceAlbany Bruce Albany

    If you are using the SharePoint Server 2013 RTM Cloudshare template, then you will need to delete some left over GAC nasties from the Workflow Beta that was installed previously on this VM. Instructions are here: http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/a063b020-454b-4adf-a85d-fbc1b0b7ba03

    • Juan Carlos González

      Hi Bruce,
      Thanks a lot for the tip. In this case, the post it’s based on a CloudShare template I built by myself.
      Kind regards

      • Benjamin Lavare

        Hello, it is a very nice article, but I have to say, I am using the SharePoint Server 2013 RTM CloudShare Template, and even after I have removed the ‘left over nasties’, still, I cannot create workflows with Visual Studio for example. It looks to me like there are left over nasties all over the place in the CloudShare Template…

        • Juan Carlos González

          Hi Benjamin,

          Well It can be that CloudShare SharePoint 2013 template has some issues,,,my recommendation is to create a SharePoint 2013 environment in CloudShare From scratch. In that way you will be sure that you have a complete control on the environment you are building.

          Kind regards

  • http://www.facebook.com/shahzebkn ShahXeb Khan

    nice but I’d like to add something that if you have Installed SharePoint Developer tools Preview for VS 12. then do uninstall this first then use this command Register-SPWorkflowService –SPSite “http://spsrv” –WorkflowHostUri “http://spsrv:12291/” –AllowOAuthHttp, I had the same problem. When I uninstalled tool then after restarted server I tried to run Register-SPWorkflowService.

    • Juan Carlos González

      Hi ShahXeb,
      Thanks a lot for the tip. I dont’ remember if I have the kind of problema that you have experienced.
      Kind regards

  • Pingback: Forte Design » SharePoint 2013 – Enable Workflow Service (a missing step)()

  • http://haydenhancock.com Hayden Hancock

    I’ve followed your guide (4 times) and still can’t get this to work right. Everything seems to install fine, however, SharePoint Designer still does not show the SharePoint 2013 workflow Platform Type.

    Under Manage Service Applications, I am only seeing a Workflow Service Application Proxy.

    • papouuu

      And if you click on this proxy? Do you get a page with red text which says your workflow service is not connected?

      • Juan Carlos González

        Hi Hayden,
        Did you solve your issue. As papouu says, be sure that the workflow service application is working and you have register the required web applications with the workflow service.
        Kind regards

      • Srdjan

        Yes, I do get a message saying that “Workflow is Not Connected”.
        What should I do with this?

  • SharePoint user

    Hi there,

    i’ve followed your installation instructions and everything seems fine. The databases were created and the connection between sharepoint and the workflow manager is established. I double checked this in Manage service application site in the SharePoint central administration.

    However i still dont get the option to choose SharePoint 2013-Workflow Platform in SharePoint Designer. Any Ideas?

    • Juan Carlos González

      Did you registered your Web Apps with the workflow server using the above PowerShell cmdlets?
      Kind regards

      • SharePoint user

        yes i did

        • Juan Carlos González

          Well, it should work with the step by the step installation procedure explained in the post…my environment is an own one built from scratch in CloudShare

  • Vijai Anand

    Is it not possible to install in CloudShare SharePoint 2013 template trial version.

    • http://CloudShare.com/ Chris Riley


      It is possible simply start with a base Windows Server template and install what you wish. However we have a Pre-Configured SharePoint 2013 template to use.

  • Srdjan

    I have successfuly passed all the steps until registering workflow service: I typed management shell command, and it got stuck in processing for several times:

    • Srdjan

      Any answer?

      • http://www.sharepointnoob.com Rene Katerberg

        use -Force and use fully qualified domain names for the WorkflowHostUri else you get an error when trying to publish your workflow because of a not trusted certificate (so use servername.domain.loc:12290 instead of servername:12290)

      • ron bolzern

        You can’t use both https and -AllowOAuthHTTP.

    • Juan Carlos González

      Did you finally get it working?

  • Pingback: sharepoint 2013 workflow | SharePoint Q&A()

  • Elber

    I have “The caller does not have the necessary permissions required for this operation. Permissions granted: None. Required permissions: ReadScope.” error, when i browse the workflow management site.

    • Lakshmanan

      Issue Fixed ?

  • Daniel Westerdale

    Hi I have followed the steps and can see my new Workflow Manager Site is up. When I open the browse the site http[IP_ADDRESS]:2291/” I am getting a login in prompt followed by a 403 error. I have checked the binding which is the same as my apps server site . Anybody else see this.

  • Pingback: Error Accessing Site Workflows Page in SharePoint | Question and Answer()

  • kad

    Nice Document. Thnx.
    But is it possible to run workflow manager with SharePoint designer 2007?

  • Lakshmanan


    The caller does not have the necessary permissions required for this operation.
    Permissions granted: None. Required permissions: ReadScope.

    Can you help me to fix this issue?

    I have tried the following solution. But still I am getting
    the same error.


  • Pingback: How to Install and configuration Workflow Infrastructure in Sharepoint 2013 | Yugender's Blog()

  • mosgoon

    Thanks, this is more straightforward than the MSDN instructions. I had an error immediately after installation but that went after an IIS reset. Also some people may need to tick the “Allow HTTP workflows” option. Any way a very useful post. thanks again.

  • Pingback: SharePoint 2013: Tips de Instalación y Configuración de Workflow Manager en una granja con el SP1! - Blog de Juan Carlos González en Geeks.MS()