Hello ,
conn.OrganizationWebProxyClient.InnerChannel.OperationTimeout = new TimeSpan(0, Convert.ToInt16(ConfigurationManager.AppSettings["MDC_ServiceTimeOut"]), 0);
return conn.OrganizationWebProxyClient != null ? conn.OrganizationWebProxyClient : (IOrganizationService)conn.OrganizationServiceProxy;
Hello,
I'm not sure why do you need proxy at all. I use the following code in my apps that works transparently for both Online and On-Prem:
var conn = new CrmServiceClient("Your Valid Connection String");
if (!conn.IsReady)
{
//handle the connection issue here
}
//use conn object here
MSFT published a page on just this topic to help guide you away from WSTrust and the OrganizationServiceProxy class. I think you'll find the answers you're looking for here.
This works fine. I have only concern that how We can authenticate the user which is not on cloud and having port number with the organization URI. see below example URL
"https://crm.organization.com:444/.
I am trying to to using oath type "Office365". but not getting succeeded.
Please advice on this.
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 |