Domanda

I need to change the service account for workflow manager. Preferably, I'd like to avoid uninstalling and reinstalling workflow manager to do so. The configuration is correct, however the RunAs account is not.

It seems like this should be possible after reading this thread and using the below powershell:

Stop-SBFarm
Set-SBFarm -RunAsAccount Domain\Username
$RunAsPassword = ConvertTo-SecureString -AsPlainText -Force '<password>'
[RunOnAllNodes] Update-SBHost -RunAsPassword $RunAsPassword

Start-SBFarm

However, if I try to use the Set-SBFarm or Update-SBHost cmdlets I get an error:

The term 'Set-SBFarm' is not recognized as the name of a cmdlet, function,
script file or operable program.

Does anybody know what I'm missing when trying to run the powershell script above? If the correct approach is really to uninstall and reinstall workflow manager, could someone provide an explanation for why that's necessary over just changing the service account?

Edit: I believe that a cumulative update or service bus 1.1 and/or workflow manager 1.1 may be required here.

È stato utile?

Soluzione

You need to run these commands in the workflow manager powershell console not SharePoint power shell console.

On the Workflow manager server: Start > All Program > Workflow Manager > Worfklow Manager PowerShell from here run as administrator.

I did the testing on my laptop when i Install the Service Bus 1.1 after i am able to run the Set-SBfarm command.enter image description here

But with Service Bus 1.0(as a part of the Workflow Manager 1.0) i am getting the same error.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top