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

Remove from Device Collection activity

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

The Remove from Device Collection activity uses the Powershell activity template to remove a device from a device collection on a Microsoft SCCM server. 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 device collection.
deviceName of the device 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 device from the SCCM device collection.
FailureActivity failed to remove the device from the SCCM device collection.

Parent Topic:SCCM activity pack