Im trying to connect to dynamics 365 via console application, using CrmServiceClient, need to input a connection string;
one of the stuff there is "RedirectUri". where do i get that from ?
Here's my Code:
static void ConnectToCrm()
{
string connectionString = @"Authtype-OAuth;
Username=username;
Password=password;
Url=https://crmurl.crm4.dynamics.com/;
AppId= ;
RedirectUri= ;
LoginPrompt=never";
crmService = new CrmServiceClient(connectionString);
Console.WriteLine($"is ready: {crmService?.IsReady}");
Console.Read();
}