Authenticate Users

Overview

The Authenticate Users Snap returns whether a given user entry (username and password) is valid in a given Azure Active Directory instance.

Supported Accounts

  • This is a Read-type Snap.
  • Works in Ultra Tasks but we recommend you not to use this Snap in an Ultra Pipeline.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has at most one document input view.

A document with a set of user entries.

Output

This Snap has exactly one document output view.

A document with an Authentication Result (Success or Failure) along with the reason if failure.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label*

String

Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: Authenticate Users

Example: Authenticate Users

User principal name*

String/Expression

Specify the Email ID of the user.

Default value: N/A

Example: [email protected]

Password*

String/Expression

Specify the user password.
Note: 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.

  6. Save your app.

Default value: N/A

Example: P@ih45

Snap execution

Dropdown list

Choose one of the three modes in which the Snap executes. Available options are:
  • 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

User-Agent Header

The Azure Active Directory Snap Pack utilizes the REST HTTP Client to send HTTP requests to the Azure endpoint. This process incorporates a User-Agent header with the value of SnapLogic for every request. By including the User-Agent header, you can monitor and track the requests made to the Azure endpoint, allowing you to determine the total count of requests made.

To view the User-Agent number for a user or group:

  1. Log in to the Azure portal.
  2. Navigate to Azure services > Azure Active Directory.
  3. Navigate to Users/Groups and select the desired User/Group.
  4. Click Audit logs in the left navigation menu. In the right pane, you can view the User-Agent number in the following format: SnapLogic (<build_number>) - pid-113e3955-1969-4541-9c9c-e3e0c897cccd. For example, a PR build might have SnapLogic (PR21312) - pid-113e3955-1969-4541-9c9c-e3e0c897cccd as the User Agent. The pid value comes from Microsoft.