SearchModelFactory.SharePointConnectorAppRegistration 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.
Configures a SharePoint connector app registration for the index, enabling document-level permissions from SharePoint.
public static Azure.Search.Documents.Indexes.Models.SharePointConnectorAppRegistration SharePointConnectorAppRegistration(Guid applicationId = default, Guid federatedCredentialId = default, Guid? tenantId = default);
static member SharePointConnectorAppRegistration : Guid * Guid * Nullable<Guid> -> Azure.Search.Documents.Indexes.Models.SharePointConnectorAppRegistration
Public Shared Function SharePointConnectorAppRegistration (Optional applicationId As Guid = Nothing, Optional federatedCredentialId As Guid = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As SharePointConnectorAppRegistration
Parameters
- applicationId
- Guid
The application (client) ID of the app registration used to connect to SharePoint.
- federatedCredentialId
- Guid
The federated credential ID configured on the app registration.
The tenant ID of the app registration. If not specified, the tenant of the search service is used.
Returns
A new SharePointConnectorAppRegistration instance for mocking.