changing the RunAs account without reinstalling Workflow Manger

For SharePoint 2013 installation, I need to change the RunAs account.

is it possible to change the RunAs account without reinstalling Workflow Manger/SB Manager without complete uninstall? Even if I remove all servers from the farm, seems like the RunAs account is always in Management db, so RunAs account is pre-populated with the old account.

Thank you

March 17th, 2014 3:00am

I need to change the RunAs account as well.  Is reinstalling Workflow Manager and/or Service Bus the only option?  There is no powershell that changes the account?
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2014 8:13pm

To change the RunAs account of the Service Bus, use following PowerShell commands:

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

Start-SBFarm

Then open the Service Control Manager and navigate to Workflow Backend Service and change manually the account.
Restart the Wf Service.

April 7th, 2014 11:27pm

Thanks for that
  • Marked as answer by KaliBaba Tuesday, April 08, 2014 6:01 PM
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2014 12:14pm

Could you please be so kind and close the case.

Thanks :)

April 8th, 2014 4:46pm

I marked it as answer assuming this closes the thread, I don't see any other option
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2014 6:01pm

I'm getting:

"Set-SBFarm : The term 'Set-SBFarm' is not recognized as the name of a cmdlet,

function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Set-SBFarm -RunAsAccount XXX\XXXX
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Set-SBFarm:String) [], CommandN
   otFoundException
    + FullyQualifiedErrorId : CommandNotFoundException"

I have Service Bus 1.0, the one that WF installs and I'm running this from the Service Bus Powershell.

Thanks

August 18th, 2014 12:28am

you need to start command from WorkflowManager powershell and not fron default powershell environment.
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2014 7:42am

Hi Damir, I am getting too "Set-SBFarm : The term 'Set-SBFarm' is not recognized as the name of a cmdlet,

I already try to get the Set-sbfarm from the workflow manager powershell and I get the same error, already try too form the servicebus powershell.

Thanks for the help!

September 8th, 2014 6:21am

Hi

Coincidently,  I also need to change the Run-as Account a Workflow Manager installation and yes I also I can't see Set-SBFarm either.

Below shows the output when I ran Get-SBFarm followed by Set-SBFarm - The first command works as you can see but the second command....

Is there a SP1  ( or even a CU) we need to apply e.g.  Cumulative Update 2 for Workflow Manager 1.0 (KB 2902007?

Also, what is the the "Service Control Manager" as  doesn't  appear as one of the two installs added to  my apps in win2012r2.

Daniel

Free Windows Admin Tool Kit Click here and download it now
October 15th, 2014 1:21pm

In my case I had to reinstall because when I initially uninstalled it I uninstalled the SB service first. The order of uninstallation matters
October 16th, 2014 12:37am

KaliBaba, were you able to solve this issue? We are in the same situation, and we have run the commands pointed out by Damir. It changed Service Bus runas account and password, but it doesn't change workflow runas account. We tried to go to Services, and manually changed the Workflow Manager Backend service's account, as well as IIS's application pool account. But workflow still has authentication issues when it communicates with Service Bus. Also when running the following command (without any parameters so it displays the current configuratoin):

Update-WFHost

We see the workflow runas account is still the original account, even though Workflow Manager Backend service's account is already the new one. This command allows us to update the runas account's password, but it doesn't allow us to change the account.

Now anything depending on the workflow, such as SharePoint, have stopped working. Has anyone been able to solve the problem?

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2015 11:37pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics