Error: The IPFIX profile only supports the Segment/Segment Port type in the Group. Please remove the unsupported types in Group [/infra/domains/default/groups/<name>] accordingly. (Error code: 506040)VMware NSX 4.x
Switch IPfix on NSX 4.x only supports Groups with segment or segment ports as static members. Dynamic membership is not supported.
This is expected behaviour.
On NSX 9.x a global Switch IPfix profile can be used which includes all segments by default.
Alternatively, on NSX 4.x DFW IPfix profile supports Group dynamic membership.