Authenticate Users

In this article

Overview

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.

Prerequisites

None.

Support for Ultra Pipelines

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

Limitations & Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • File Reader

  • File Parser

  • Structure Snap

Document with a set of user entries.

Output

Document

 

  • Min: 1

  • Max: 1

  • File Formatter

  • File Writer

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

Error

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

Description

Label*

 

Default Value: Authenticate Users
Example: Authenticate Users

String

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
Example: username@company.onmicrosoft.com

String/Expression

Specify the Email ID of the user.

Password*

 

Default Value: N/A
Example: P@ih45

 



String/Expression

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 Value: Validate & Execute
Example: Execute only

 

Additional Information


Snap Pack History

Â