Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Is User in Collection activity

This activity verifies if a user exists in an SCCM user collection.

The Is User in Collection activity uses the PowerShell activity template to verify if a specific user exists in an SCCM user collection. The activity is configured to use a MID Server with PowerShell capabilities and to run a MID Server script called IsUserInCollection.ps1 to perform the test.

To access this activity in the Workflow Editor, select the Custom tab, and then navigate to Custom Activities > System Center Configuration Manager (SCCM).

Input variables

VariableDescription
sccmServerThe fully qualified domain name (FQDN) of the SCCM server.
collectionName of the user collection.
userName of the user to verify is in the collection.

Output variables

VariableDescription
outputVariable that contains the test result: True/False
errorMessageVariable that contains the activity output error message.

Conditions

ConditionDescription
ExistThe user exists in the collection.
Not existThe user does not exist in the collection.
FailureActivity failed.

Parent Topic:SCCM activity pack