Error 404 Scope not found - when Pairing Workflow service with SharePoint 2019

Shreyas R S 26 Reputation points
2021-06-15T08:37:29.487+00:00

Hi,

I have configured workflow manager and try to register workflow service with SharePoint 2019, I get below error

Register-SPWorkflowService : A response was returned that did not come from the Workflow Manager. Status code = 404:
<Error xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>ScopeNotFoundError</Code><Message>Scope '/SharePoint'
was not found. </Message><Values><Item><Name>ScopePath</Name><Value>/SharePoint</Value></Item><Item><Name>EntityName</N
ame><Value>/SharePoint</Value></Item></Values></Error> HTTP headers received from the server - ActivityId:

I am executing below script to register:
Register-SPWorkflowService -SPSite 'MysharepointsitecollectionURL' -WorkflowHostUri 'https://servername.com:12290' -AllowOAuthHttp -Force

I have tried below as well
Register-SPWorkflowService -SPSite 'MysharepointsitecollectionURL' -WorkflowHostUri 'https://servername.com:12290' -Force

Could someone guide me how to fix this?

Regards,
Shreyas

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
601 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,796 Reputation points
    2021-06-16T06:09:16.963+00:00

    Hi @Shreyas R S ,

    Have you configured the Workflow Manager SSL Certificate correctly? Also make sure you have met all prerequisites for the configuration. And this port isn't blocked in Windows Firewall. The best way is to turn off built-in Windows Firewall in Windows Server.

    Please refer to this blog for a simple troubleshooting:
    Install and Configure Workflow Manager SharePoint 2016 / 2019 Step by Step
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.