Forgotten WFM Autogeneration Key? I got your back!

8 02 2017

You ever forget that stupid autogenerated certificate password to join a SharePoint Workflow Manager Farm? Did you ever inherit a SharePoint farm with no passwords and you need to leave and rejoin a wfm farm(happens alot). Or perhaps you want to scale out your WFM farm and do not have the password.

I struggled with this one myself, and I am here to show you the way.

There is no way to retrieve it, that i know of. But I can show you how to change it.

Step 1 – DO NOT LEAVE THE WFM FARM! YOu can do this if you do leave the farm, but it will take the full DB Connection string to get this to work.

Step 2-Open powershell on your WFM machine and run these commands to update WFM Auto generated key.

PS C:\> $autoGenerateKey = convertto-securestring 'CertAutoGenKey123'  -asplaintext -force
PS C:\> Set-WFCertificateAutoGenerationKey  -WFFarmDBConnectionString 'dbConnectionString' -key $autoGenerateKey -Verbose
This will change the certificate generation key most people set when they run WFM the first time.
Step 2- Update the Service bus key as well. You can’t do one without the other. From powershell type this:
PS C:\> $SBGenerateKey = convertto-securestring 'CertAutoGenKey123'  -asplaintext -force
PS C:\>Set-SBCertificateAutogenerationKey-WFFarmDBConnectionString 'dbConnectionString' -key $autoGenerateKey -Verbose


That’s it. You should now be able to join the server to the WFM farm.

Microsoft does not make it easy to find this stuff, so i decided to help you all out.

Love

Nando

Advertisements




Sp 2013 WFE workflow hell.

30 01 2015

I am back fellow readers. Back with a vengeance.
Currently, I am in possession of one BIG SharePoint 2013 farm with a total of 24 server between prod, sys and dev.
The production farm is a 9 SP farm behemoth.
So it began with a simple enough requirement, please demo SharePoint 2013 workflows. I said OK and tried to create one.
Nope.
Tried another site.
Nope.
Spent 6 hours on the phone with Premier.
Nope.
Slept on it and guess what occurred to me. I should check all WFE to see if they have workflow manager CLIENT installed.
They didn’t.
Now they do.
Tried workflows again.
YUP. They work.
So WFE workflow hell, i see you now.
Enjoy my fail.
Yours truly,
Nando