Running a workflow to pull count of AD groups & Users, if the count is greater than Zero,
however it's not returning expected result.
Output:
---------
2025-05-02 INFO Found 0 in AD Security Group TEST_Lab_Group
2025-05-02 INFO Found 0 in AD Security Group TEST_Lab_Group
Workflow Definition:
----------------------
var securityGroupComputerMemberArray = adSecurityGroup.computerMembers; //returns an Array of AD:ComputerAD objects
if( securityGroupComputerMemberArray.length > 0 ){
System.log( "Number of Computer Members in " + adSecurityGroup.getAttribute("name") + ": " + securityGroupComputerMemberArray.length.toString() );
}
else{
System.log( "Found no Computer Members in " + adSecurityGroup.getAttribute("name") );
}Aria Automation Orchestrator 8.18.1
All users for the groups that they have tested are actually inactive. These users were not, however, intended to be used.
If there are users available in the AD group, we should be getting output as number of users.
It is in the roadmap to enhance the plugin to handle this use case and can be expected in later releases of VCF 9.x