I'm using the CRM SDK to talk to CRM.
My organization has Dynamics CRM 365(On-Premise) with IFD authentication. When i am trying to connect to CRM it is showing some random behavior. Sometimes i am able to connect using AD authentication,sometimes through OnlineFederation and the most weird connection was through Live ID. In case of IFD authentication it should not connect using LiveID. I am using connection string in the following format for IFD authentication:
connectionString = $"AuthType=IFD;ServiceUri={ organizationUri }/{ AuthInfo.OrganizationUniqueName };Domain={ AuthInfo.Domain };Username={ AuthInfo.Domain }\{ AuthInfo.UserName };Password={ AuthInfo.Password };";
*This post is locked for comments