SearchModelFactory.EntraAppAuthentication Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.