Hi
I've been trying to change to oAuth since my connections started to fail today.
I've used what I've seen on the net but it's not working.
M previous code was;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; CrmServiceClient service = new CrmServiceClient(ConfigurationManager.ConnectionStrings["CRMLIVE"].ConnectionString);
And Ive changed to use a new conncegion string like
CrmServiceClient service = new CrmServiceClient(ConfigurationManager.ConnectionStrings["CrmConnectionString"].ConnectionString);
In my web.config i have the string;
It's not working. LastCRMerror is Unable to Login to Dynamics CRM
And Object reference not set to an instance of an object
HELP!