You can use this workflow to add VMs to security groups.

Procedure

  1. Click the Workflows tab and then navigate to Library > NSX > NSX workflows > Add VMs to security group.
  2. Click the green Start Workflow icon.
  3. Select the NSX endpoint.
  4. Enter the security group.
  5. Enter the virtual machine managed object reference.
  6. Click Submit.