Problem with Registration for SP:s Workflow 2013

Goal:
Install SP Workflow 2013 in my SharePoint 2013

Problem:
I have followed a guide line (http://tech.just4sharing.com/Pages/tech/Configuring-SharePoint-2013-to-support-workflow-Management-Service.aspx#.UwDhCbQ6tnE) and now I'm stuck in the message

Step 23:  Give this command "Register-SPWorkflowService -SPSite
"http://xxxx" -WorkflowHostUri "http://xxxx:12291" - AllowOAuthHttp

The problem is that the PowerShell:s sourcecode

"Register-SPWorkflowService -SPSite "http://sharepoint01" -WorkflowHostUri "http://sharepoint01:12290/" -AllowOAuthHttp"

do not work properly due to error message:

Register-SPWorkflowService : The term 'Register-SPWorkflowService' is not recognized as the name of a cmdlet, function, sc
ript file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
 and try again.
At line:1 char:1
+ Register-SPWorkflowService -SPSite "http://sharepoint01" -WorkflowHostUri "http: ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Register-SPWorkflowService:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

What should I do in order to complete step 23?

Information:
I'm using SharePoint 2013.



  • Edited by Sakura Data Monday, February 17, 2014 8:16 PM new picture
February 16th, 2014 7:15pm

Have you loaded the SharePoint modules?  Or simply ran the register-spworkflowservice cmdlet from the SharePoint management console?
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2014 9:27pm

Have you loaded the SharePoint modules?  Or simply ran the register-spworkflowservice cmdlet from the SharePoint managemen
February 17th, 2014 12:00am


>> have tried using Administrator: SharePoint 2013 Management Shell but same problem occur. You can look and the new picture above that is being uploaded.

There is a space between "-" and AllowOAuthHttp 

Remove the space then run the command again

"Register-SPWorkflowService -SPSite "http://sharepoint01" -WorkflowHostUri "http://sharepoint01:12290/" -AllowOAuthHttp"

>>"Have you loaded the SharePoint modules? " What do you mean? I have no clue about it. Im newbie in SP development

Wen you run the powershell command from windows powershell ISE, you have to load the

 Add-PSSnapin "Microsoft.SharePoint.PowerShell", so that it will recognize the commandlets.

Free Windows Admin Tool Kit Click here and download it now
February 17th, 2014 1:06am

please also go through the link below..

http://technet.microsoft.com/en-us/library/jj193478.aspxtechnet

February 17th, 2014 2:53am

When I followed your instruction I retrieve a new error message.

PS C:\Users\Administrator> Add-PSSnapin "Microsoft.SharePoint.PowerShell"
Register-SPWorkflowService -SPSite "http://sharepoint01/" -WorkflowHostUri "http://sharepoint01.ADVENTUREWORKS.com:12291" -AllowOAuthHttp
Register-SPWorkflowService : Unable to connect to the remote service at http://sharepoint01.adventureworks.com:12291/SharePoint/. See InnerExce
ption for more details. Client ActivityId : 4dc0a002-8338-452d-a240-2635ce547ac8.
At line:2 char:1
+ Register-SPWorkflowService -SPSite "http://sharepoint01/" -WorkflowHostUri "http ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...WorkflowService:RegisterSPWorkflowService) [Register-SPWorkflowService], Workflo 
   wEndpointNotFoundException
    + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService

I also have uploaded new picture above.

What should I do?

Free Windows Admin Tool Kit Click here and download it now
February 17th, 2014 10:46pm

Please check the event logs for error details.

For me it seems you are not able to connect to SharePoint from workflow manager.

http://sharepointdeal.wordpress.com/2013/07/08/register-spworkflowservice-failed-to-query-the-oauth-s2s-metadata-error/

February 17th, 2014 11:16pm

Message from the error message."Key here is that make sure that both SharePoint and workflowhost urls are accessible from the SharePoint / Workflow Manager server."

My question is: How should I make a confirmation that both SharePoint and workflowhost urls are accessible from the SharePoint / Workflow Manager server?

Free Windows Admin Tool Kit Click here and download it now
February 17th, 2014 11:20pm

>>How should I make a confirmation that both SharePoint and workflowhost urls are accessible from the SharePoint / Workflow Manager server?

Add the SharePoint url to the Workflow manager server host file and can access the SharePoint url

I hope you have workflow manager client running in your SharePoint Server.

Check "Workflow Manager is installed on a server that is NOT part of the SharePoint 2013 farm. Communication takes place by using HTTP"

http://technet.microsoft.com/en-us/library/jj658588(v=office.15)#section5

February 18th, 2014 1:43am

Add the SharePoint url to the Workflow manager server host file and can access the SharePoint url

I hope you have workflow manager client running in your SharePoint Server.

Check "Workflow Manager is installed on a server that is NOT part of the SharePoint 2013 farm. Communication takes place by using HTTP"

http://technet.microsoft.com/en-us/library/jj658588(v=office.15)#section5

Free Windows Admin Tool Kit Click here and download it now
February 18th, 2014 10:17am

I just had the exact same issue here's what I did to rectify the issue in case others are still having issues.

After numerous failed attempts to register the farm and hours of trawling the web for an answer, I noticed an error notice at the top of the SharePoint Management Shell window.

"Method 'Upgrade' in type 'Microsoft.SharePoint.WorkflowServices.WorkflowServiceA

pplicationProxy' from assembly 'Microsoft.SharePoint.WorkflowServices, Version=1

5.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' does not have an implementation." This message appeared after I had installed Workflow Manager.

After doing some digging on the error I installed the following SP update (KB2880963) from MS and the error disappeared from the shell window and I could successfully register the farm without issue or any more errors.

I will point out this was done on a development server ONLY and NOT in a production instance.

Hope this helps some of you.

Regards

December 4th, 2014 10:28pm

Make sure to install the updates for service Bus and workflow manager, including CU2 for workflow manager refresh.

If you're using http port 12291 or https port 12290, then make sure you have the hostname and not the name of the web app.  The name of you VM goes here.  Not the site name.  and you need to make sure your port agrees with how you configured workflow manager 1.0

-WorkflowHostUri "http://sharepoint01:12290/"

it looks like you're using https though when you configured the workflow manager 1.0, if that is true, and if you are using the hostname, then use port 12290 as shown above and https: and make sure your web applications are also running on https://

-WorkflowHostUri "https://sharepoint01:12290/"

if you've configured workflow manager on http, change your

-WorkflowHostUri "http://sharepoint01:12290/"  to

-WorkflowHostUri "http://sharepoint01:12291/"

and that should do it, if the sharepoint01 is the host name, if you're running on https then,

re-run the command with all protocols matching (e.g. http or https), after you make sure your web applications are also using https and running on same certificate.  Check your bindings in iis for the web app, add the https and then change your site to https under alternate access mappings.

Free Windows Admin Tool Kit Click here and download it now
December 7th, 2014 6:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics