Hello all,
I'm hoping for some help in fixing this issue.
I've been trying to publish a workflow using SharePoint Designer only to find that I get this error:
"Errors were found when compilint the workflow. The workflow files were saved but cannot be run."
After clicking on the advanced button it shows error:
System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : 6a78ad9c-6ac6-f03a-0680-003bd46e5f68. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> Microsoft.SharePoint.SPException: The requested operation requires an HTTPS (SSL) channel. Ensure that the target endpoint address supports SSL and try again. Target endpoint address:
Note: the message cuts off after the "Target endpoint address".
Looking on the SharePoint server, when I try and pull up the Workflow Manager site (https://localhost:12290/) I get this response:
<?xml version="1.0"?>
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Code>AuthorizationError</Code>
<message><Message>The caller does not have the necessary
permissions required for this operation. Permissions granted: None. Required permissions: ReadScope.</Message></message></Error>
I am running this farm with HTTPS and I have registered the SP workflow service with the appropriate application. I have also set the Workflow Management Site bindings in IIS to utilize the same certificate as the default SharePoint site.
At this point, I don't know if the error that I received from Designer is related to the Site error, although I do know that I also have a Development environment that is able to publish workflows just fine. However, this farm uses HTTP rather than HTTPS so I can only assume that the differences are what's causing the issue. I would appreciate any help that anyone can offer. Thanks!