I am trying to connect to dynamics 365 by using the reference given in the link below
After User authentication at the below code, control goes to catch block saying
"The request body must contain the following parameter: 'client_secret or client_assertion'"
AuthenticationResult result = authContext.AcquireToken(resource, clientId, new Uri(redirectUrl));
I understand that for other Microsoft Apps there is a client App key and client Secret key with which we can acquire access token, But this is an Azure directory App which has only Client App key. Please Correct me if my understanding is wrong.