Find the Workflow Manager Address from SharePoint

If you’re not sure what address your SharePoint farm is consuming Workflow Manager from, PowerShell can identify the full URI to the Workflow Manager farm that was registered with SharePoint.

$site = Get-SPSite https://sharepoint.cobaltatom.com
$proxy = Get-SPServiceApplicationProxy | ?{$_.TypeName -eq 'Workflow Service Application Proxy'}
$proxy.GetHostname($site)
$proxy.GetWorkflowScopeName($site)

The output of that command will be the full URI to the Workflow Manager farm, including port and protocol. Additionally we are retrieving the ScopeName used to register Workflow Manager. This is useful if we have multiple scopes in use, for example if you have multiple SharePoint farms registered with Workflow Manager.

The $site object may be any Site Collection on SharePoint, we just need a single reference from the farm.

Trevor Seward is a Microsoft Office Apps and Services MVP who specializes in SharePoint Server administration, hybrid scenarios, and SharePoint Online. He has been working with SharePoint for 16 years from SharePoint 2003 on up, managing environments with terabytes of content for 150,000+ user organizations. Trevor is an author of Deploying SharePoint 2016 and Deploying SharePoint 2019. You can find him on Twitter and in /r/sharepoint.