I am creating Response Group Workflows using Remote PowerShell in C#. Workflow gets created successfully and I get Workflow Identity in return.
But these workflows does not get listed using Get-RgsWorkflow command nor they are listing in Skype for Business Server Control Panel.
I have also tried
Get-CsRgsWorkflow -ShowAll
Get-CsRgsWorkflow -Identity service:skypeserver.domain.com
But noting shows. However manually created workflows list properly.
I have figured out that if we create a workflow as activated (Active = $true) then there are some mandatory parameters which we must have to pass while creating. Otherwise the workflows will not be created. For reference, please see the Microsoft documentation. New-CsRgsWorkflow