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

Remove from User Collection activity

The Remove from User Collection activity removes a user from a Microsoft System Center Configuration Manager (SCCM) user collection.

The Remove from User Collection activity uses the Powershell activity designer template to access a user collection on a Microsoft SCCM target host. The activity is configured to use a MID Server with Powershell capabilites and to run a MID Server script called RemoveFromUserCollection.ps1 to edit the collection.

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 add to the collection.

Output variables

VariableDescription
outputVariable that contains a value that is passed to other activities in the workflow.
errorVariable that contains the activity output error message.

Conditions

ConditionDescription
SuccessActivity successfully removed the user from the SCCM user collection.
FailureActivity failed to remove the user from the SCCM user collection.

Parent Topic:SCCM activity pack