Authenticate Users

In this article


You can use this Snap to return whether a given user entry (username+password) is valid in a given Azure Active Directory instance.


Snap Type

The Authenticate Users Snap is a READ-type Snap that reads or fetches data from an Azure Active Directory Server database.



Support for Ultra Pipelines

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

Limitations & 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

  • File Reader

  • File Parser

  • Structure Snap

Document with a set of user entries.




  • Min: 1

  • Max: 1

  • File Formatter

  • File Writer

Document with an Authentication Result (Success or Failure) along with reason if failure.


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 when 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 whether 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 field set.

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

Field Name

Field Type




Default ValueAuthenticate Users
ExampleAuthenticate Users


Specify a unique 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.

User principal name*


Default Value: N/A


Specify the Email ID of the user.



Default Value: N/A
Example: P@ih45



Specify the user password.

Enable Password Credential Flow under Advanced Settings in the Azure portal for authenticating the user.

To enable the public client flow for authentication:

  1. Log into the Microsoft Azure Portal.

  2. Navigate to Azure Active Directory under Azure Services.

  3. Navigate to App Registrations and select your App.

  4. Click Authentication in the left-side pane.

  5. Enable Allow public client flow under Advanced settings as shown below.

  6. Save your app.

Snap Execution


Default ValueValidate & Execute
ExampleExecute only


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

Snap Pack History