I'm using Sitecore 9.2
scaled environment on Azure, and am trying to make a console application connects to XConnect, am following this link from Sitecore documentation.
In the part shown in the below code, I added the search indexer server URL in the searchWebAPIClient
. However, I'm not sure what should be defined in the other 2 APIs (CollectionWebApiClient and ConfigurationWebApiClient)
. Also, where to define the reporting, ProcessingEngine, search indexer. server.
Can someone please advise?
var collectionClient = new CollectionWebApiClient(new Uri("https://collect.azurewebsites.net/odata"), clientModifiers, new[] { certificateModifier });
var searchClient = new SearchWebApiClient(new Uri("https://search.azurewebsites/odata"), clientModifiers, new[] { certificateModifier });
var configurationClient = new ConfigurationWebApiClient(new Uri("https://xconnect/configuration"), clientModifiers, new[] { certificateModifier });
var cfg = new XConnectClientConfiguration(
new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient);