function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Maqsood AhmadMaqsood Ahmad 

Session expired or invalid INVALID_SESSION_ID

I'm trying to authenticate REST API with BizTalk through following article
https://developer.salesforce.com/page/Calling_the_Force.com_REST_API_from_BizTalk_Server

and I'm getting Session expired or invalid exception
<Error><errorCode>INVALID_SESSION_ID</errorCode><message>Session expired or invalid</message></Error>
 
Any help would be appreciated.
Thanks
NagendraNagendra (Salesforce Developers) 
Maqsood AhmadMaqsood Ahmad
This post solved my problem
https://stackoverflow.com/questions/38647591/error-with-salesforce-authentication-from-c-sharp-clients/38774884#38774884?newreg=497db6b3640f48e88f9c5a408e1a67d5

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;