Host is not joining to Workflow Manager farm

Ava Tomlinson 96 Reputation points
2024-01-23T13:29:53.8633333+00:00

We have a SharePoint Workflow Manager Farm (SharePoint 2016 on-premise environment) running on a single server. We were trying to upgrade Azure Service Fabric version 5.1.163.9590 with version 9.1.1121.9590 on Workflow Manager server Which requires to leave the Workflow Farm and rejoin it. While rejoining the Worklfow Manager farm, we got an error message that farm is partially joined. Steps followed to install Microsoft Azure Service Fabric Version 9.1.1121.9590:

  1. Take a snapshot of the server for precautionary measures.
  2. Open Workflow Manager Configuration and leave the farm.
  3. Now uninstall Microsoft Azure Service Fabric 5.1.163.9590 from the control panel.
  4. Restart the server.
  5. Run the command below to install Service Fabric using Workflow PowerShell opened as an administrator and move to the same folder where the exe file is located with the cd command. .\MicrosoftServiceFabric.9.1.1583.9590.exe /accepteula
  6. Restart the server.
  7. Verify the Microsoft Azure Service Fabric version from the control panel.
  8. Ensure the Windows firewall service is running.
  9. At this point, rejoin the server using Workflow Configuration Manager with the following credentials and generation keys. ERROR-
[Error] [1/13/2024 7:22:25 AM]: System.Management.Automation.CmdletInvocationException: The remote server returned an error: (404) Not Found. The incoming request is not recoginzed as a namespace policy put request: Unrecognized policy type: SubscriptionDescription, http://schemas.microsoft.com/netservices/2010/10/servicebus/connect.TrackingId:5b0aff8a-7d17-4f0c-af50-89769d59ae2d_Gde,TimeStamp:1/13/2024 7:22:25 AM ---> Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException: The remote server returned an error: (404) Not Found. The incoming request is not recoginzed as a namespace policy put request: Unrecognized policy type: SubscriptionDescription, http://schemas.microsoft.com/netservices/2010/10/servicebus/connect.TrackingId:5b0aff8a-7d17-4f0c-af50-89769d59ae2d_Gdei,TimeStamp:1/13/2024 7:22:25 AM ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.CreateOrUpdateAsyncResult`1.EndGetResponse(CreateOrUpdateAsyncResult`1 thisPtr, IAsyncResult ar)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
   --- End of inner exception stack trace ---
Server stack trace:
Exception rethrown at [0]:
   at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at Microsoft.ServiceBus.NamespaceManager.CreateOrUpdateSubscriptionAsyncResult.OnCreateSubscription(IAsyncResult result)
   at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
Exception rethrown at [1]:
   at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at Microsoft.Workflow.Administration.ServiceUpdateManager.CreateManagementEntities(IList`1 namespaceManagerUris, ServiceBusClientCredentialType clientCredentialType, IDictionary`2 arguments, TimeSpan retryTimeout)
   at Microsoft.Workflow.Deployment.Commands.WorkflowServiceConfigHelper.SetWFRuntimeSettings(String resourceDBConnectionString, String config)
   at Microsoft.Workflow.Deployment.Commands.AddWFHost.CallWFRuntimeSettings(Service wfserviceInfo, String unencryptedResourceConnectionString)
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
   at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
   at Microsoft.Workflow.Deployment.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
   at Microsoft.Workflow.Deployment.ConfigWizard.ProgressPageViewModel.AddWFNode(FarmCreationModel model, Boolean isFirstCommand)
.ProgressPageViewModel.AddWFNode(FarmCreationModel model, Boolean isFirstCommand)

While rejoining the Worklfow Manager farm, we got error message that farm is partially joined. We were able to join SB Farm, but not the WF Farm getting below mentioned error. The Workflow Manager was working fine before leaving the farm (prior to upgrading Microsoft Azure Service Fabric to 9.1.1121.9590).
Looking for Solution of this issue.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
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.
509 questions
{count} votes