Get Role Members

In this article


You can use this Snap to list all the members (users) having the given role.

Snap Type

Get Role Members is a Read-type Snap.



Support for Ultra Pipelines  

Works in Ultra Pipelines. However, we recommend that you not use this Snap in an Ultra Pipeline.

Limitations and Known Issues


Snap Views



Number of Views

Examples of Upstream and Downstream Snaps




Number of Views

Examples of Upstream and Downstream Snaps




  • Min: 0

  • Max: 1


Object ID of an existing desired group.



  • Min: 1

  • Max: 1

Any File Formatter Snap followed by File Writer.

List of users present in the group.


Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon (): Indicates that you can add fields in the fieldset.

  • Remove icon (): Indicates that you can remove fields from the fieldset.

Field Name

Field Type




Default Value: Get Role Members
Example: Get Role Members


Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

Role object ID


Default Value: N/A
Example: 3db4317-1c35-3x11-zd66-a1a05cfadc33


Specify the Object ID of the desired role.

Display Properties


Default Value: None
Example: accountEnabled, displayName


Specify the properties to be displayed in the output for the user or group.

Snap Execution


Default ValueValidate & Execute
Example: Execute only

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Additional Information


Displaying Specific User Properties in the Output

This example Pipeline demonstrates how you can display specific user properties in the output preview of the Get Role Members Snap.

First, configure the Snap to set the display properties you want to view in output.

On validating the Snap, you can view the configured properties (attributes) in the output preview of the Snap.

Download this Pipeline.

  File Modified

File Example_Azure_AD_Group_Display_Properties.slp

Sept 01, 2022 by Kalpana Malladi