AzureTokenAuthentication(string)

This constructor instantiates an empty object of the AzureTokenAuthentication class with a database application id URI.

Declaration

// C#
public AzureTokenAuthentication(string databaseApplicationIdUri);

Parameters

databaseApplicationIdUri – The database application id URI configured in the database app registration on Azure Active Directory.

Exceptions

ArgumentException if databaseApplicationIdUri is null, empty, or has only whitespaces.

Remarks

The database application id URI is a mandatory parameter for all Azure AD authentication flows. Other parameters should be set individually as per the selected authentication flow.