IWithAuthenticationProvider<ParentT>.WithActiveDirectory(String, String) Method

Definition

Specifies the provider to be Active Directory and its client ID and issuer URL.

public Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithAttach<ParentT> WithActiveDirectory (string clientId, string issuerUrl);
abstract member WithActiveDirectory : string * string -> Microsoft.Azure.Management.AppService.Fluent.WebAppAuthentication.Definition.IWithAttach<'ParentT>
Public Function WithActiveDirectory (clientId As String, issuerUrl As String) As IWithAttach(Of ParentT)

Parameters

clientId
System.String

The AAD app's client ID.

issuerUrl
System.String

The token issuer URL in the format of https://sts.windows.net/(tenantId).

Returns

IWithAttach<ParentT>

Applies to