I am connecting to my Dynamics 365 Instance using console application. But whenever I use Organization Service I get this below error:-
System.ServiceModel.ProtocolException: 'Content Type text/xml; charset=utf-8 was not supported by service chopperkaizoku.api.crm.dynamics.com/.../Organization.svc. The client and service bindings may be mismatched.'
I am using ClientId and Secret to connect to Dynamics.
Could Anyone tell what needs to be done here?
Thanks in Advance.