Language

SearchModelFactory.EntraAppAuthentication Method

Definition

Configuration for a customer-owned Microsoft Entra app registration used for federated credential-based on-behalf-of authentication.

public static Azure.Search.Documents.Indexes.Models.EntraAppAuthentication EntraAppAuthentication(Guid applicationId = default, Guid federatedCredentialId = default, Guid? tenantId = default);
static member EntraAppAuthentication : Guid * Guid * Nullable<Guid> -> Azure.Search.Documents.Indexes.Models.EntraAppAuthentication
Public Shared Function EntraAppAuthentication (Optional applicationId As Guid = Nothing, Optional federatedCredentialId As Guid = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As EntraAppAuthentication

Parameters

applicationId
Guid

The application (client) ID of the customer-owned Entra app registration.

federatedCredentialId
Guid

The federated credential ID configured on the app registration, enabling the search service to authenticate as the app without a stored client secret.

tenantId
Nullable<Guid>

The tenant ID of the app registration. Required when the app registration is in a different tenant than the search service. If omitted, the search service's tenant is used.

Returns

A new EntraAppAuthentication instance for mocking.

Applies to