Microsoft allows us to have a
30-days trial online CRM. I've signed up and decided to connect to CRM Online services from my application. At first I've tried to connect to
discovery service. The
CRM SDK has a sample
sdk\samplecode\cs\generalprogramming\discoveryservice\discoveryservice.sln that shows us how to do that. This sample needs Credentials.xml file to be present in your <DISK>:\Users\<user>\AppData\Roaming\CrmServer folder.