I'm a complete newbie with crm online dynamics (2011), and although I worked with a sample SDK code, I'm trying to find the easiest way to make a basic authenticated connection to our Dynamics CRM online service and push some very simple data into a user object / extension that I created.

Hopefully you will see from the code snippet above (confidential data is blurred), probably I'm trying to get around the authentication process? The above code example was slightly based on some code examples in the CRM SDK, as well as from the sample code project . I do not know if the above code will work? this actually seems to be an attempt, and only when "serviceProxy.Create" is executed do I get an authentication error.
I also managed to switch from the corporate firewall with the following addition to my app.config file:
<system.net> <defaultProxy useDefaultCredentials="true"> <proxy usesystemdefault="true"/> </defaultProxy> </system.net>
Again, not sure if there is a very easy way to connect? or should I really go back to the SDK helper files?
source share