---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Remove from User Collection activity

# Remove from User Collection activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

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](https://servicenow-prod.fluidtopics.net/SV5g3MJvrMeLhWdD7UG1VQ#t_CreateAPowershellActivity "Create a custom PowerShell activity return data to a workflow from a host using Microsoft PowerShell.") 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.{#r_RemoveFromUserCollectionActivity__p_AccessSSHCustomActivities}

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

## Input variables

{#r_RemoveFromUserCollectionActivity__table_rx1_4fm_xs__entry__2}

| Variable | Description |
|-|-|
| sccmServer | The fully qualified domain name (FQDN) of the SCCM server. |
| collection | Name of the user collection. |
| user | Name of the user to add to the collection. |
[Tabelle : 1. Remove from User Collection input variables]

{#r_RemoveFromUserCollectionActivity__table_rx1_4fm_xs}

## Output variables

{#r_RemoveFromUserCollectionActivity__table_drl_5fm_xs__entry__2}

| Variable | Description |
|-|-|
| output | Variable that contains a value that is passed to other activities in the workflow. |
| error | Variable that contains the activity output error message. |
[Tabelle : 2. Remove from User Collection output variables]

{#r_RemoveFromUserCollectionActivity__table_drl_5fm_xs}

## Conditions

{#r_RemoveFromUserCollectionActivity__table_wvb_1gm_xs__entry__2}

| Condition | Description |
|-|-|
| Success | Activity successfully removed the user from the SCCM user collection. |
| Failure | Activity failed to remove the user from the SCCM user collection. |
[Tabelle : 3. Remove from User Collection conditions]

{#r_RemoveFromUserCollectionActivity__table_wvb_1gm_xs}

