Aria Automation Orchestrator plugin for AD object is unable to pull the count of AD objects
search cancel

Aria Automation Orchestrator plugin for AD object is unable to pull the count of AD objects

book

Article ID: 396305

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

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") );
}

Environment

Aria Automation Orchestrator 8.18.1

Cause

All users for the groups that they have tested are actually inactive. These users were not, however, intended to be used.

Resolution

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