ERROR PROBLEM RESOLUTION Register-SPWorkflowService : The caller does not have Add the necessary permissions required for this operation. is not a member of Permissions granted: None. Required permissions: the workflow admin to WriteScope. HTTP headers received from the server - group, CONTOSO\WFAdmins ActivityId: 5e2b96c5-f971-48c9-b3fd-405c3616e1c7. CONTOSO\WFAdmins. and re-run NodeId: SP2. Scope: /SharePoint. Client ActivityId : 8e592951-0027-40c6-b996-ba3dd194fdea. PowerShell cmdlet. You may need to logout and log back in to acquire an updated security token. Register-SPWorkflowService -SPSite Grant –AllowOAuthHttp has not been : Cannot open database granted ShellAdmin shell admin access "WSS_Content_WFTest" requested by the login. The access to the to the desired content login failed. WSS_Content_WFTest database using content database. PowerShell similar to the following: Login failed for user 'CONTOSO\svcsetupacct'. Add-SPShellAdmin –database WSS_Content_WFTest) Register-SPWorkflowService -SPSite Incorrect use of Notice that the http://intranet.contoso.lab -WorkflowHostUri parameters SharePoint site is https://wf.contoso.lab:12290 but the parameter : Failed to query the OAuth S2S for –AllowOAuthHttp metadata endpoint at URI was not specified. For a non-SSL SharePoint Error details: 'The metadata endpoint responded site, the parameter with an error. HTTP status code: Forbidden.'. HTTP
ERROR PROBLEM RESOLUTION Register-SPWorkflowService : The caller does not have the necessary permissions required for this operation. Permissions granted: None. Required permissions: WriteScope. HTTP headers received from the server - ActivityId: 5e2b96c5-f971-48c9-b3fd-405c3616e1c7. NodeId: SP2. Scope: /SharePoint. Client ActivityId : 8e592951-0027-40c6-b996-ba3dd194fdea. is not a member of the workflow admin group, CONTOSO\WFAdmins. Add to CONTOSO\WFAdmins and re-run PowerShell cmdlet. You may need to logout and log back in to acquire an updated security token. Register-SPWorkflowService -SPSite –AllowOAuthHttp : Cannot open database "WSS_Content_WFTest" requested by the login. The login failed. Login failed for user 'CONTOSO\svcsetupacct'. has not been granted ShellAdmin access to the WSS_Content_WFTest content database. Grant shell admin access to the desired content database using PowerShell similar to the following: Add-SPShellAdmin –database WSS_Content_WFTest) Register-SPWorkflowService -SPSite http://intranet.contoso.lab -WorkflowHostUri https://wf.contoso.lab:12290 : Failed to query the OAuth S2S metadata endpoint at URI Error details: 'The metadata endpoint responded with an error. HTTP status code: Forbidden.'. HTTP Incorrect use of parameters Notice that the SharePoint site is but the parameter for –AllowOAuthHttp was not specified. For a non-SSL SharePoint site, the parameter
Install%20and%20configure%20workflow%20for%20SharePoint%20Server%202013.docx