This activity adds a computer to a security group in Active Directory Domain Services (AD DS). The computer and the group must belong to the same domain, and all containers in the domain are searched.

Design Time Prerequisites

None.

Run Time Prerequisites

When you use this activity, make sure that the Service Manager Workflow account has sufficient permissions to modify security groups in Active Directory Domain Services.

Properties

The Add AD DS Computer to Group activity uses the input properties listed in the following table:

Display Name Internal Name Type Required Description

Computer Domain

ComputerDomain

String

Yes

The fully qualified DNS domain name where the computer is located (e.g. contoso.com)

Computer Name

FullyQualifiedComputerName

String

Yes

The name of the computer.

Group Name

FullyQualifiedGroupName

String

Yes

The name of the Active Directory Domain Services group.

The Add AD DS Computer to Group activity generates the output described in the following table:

Display Name Internal Name Type Description

Output

Output

Boolean

The result of the operation: True if the addition succeeded, False if it failed.

Errors and Exceptions

Remarks

Example