I am trying to get data from Dynamics CRM Online, but cannot even authenticate and get an access token. The problem is that I am not able to call the AcquireToken method in my console application.
Anyone know how to authenticate and get an access token ?
I am using the below tutorial: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/connect-customer-engagement-web-services-using-oauth
AuthenticationResult result = authContext.AcquireToken(resource, clientId, new Uri(redirectUrl));
? Are you getting an exception? – jasonscript