title: MS Dynamics CRM online 2011 - Authentication issues
body: <p>I am a total newbie with dynamics crm online (2011), and although I have been working through the SDK sample code, I am trying to find the simplest way to perform a basic authenticated connection to our online Dynamics CRM service, and push some very basic data to a custom entity/extension I have created.</p>
  
  <p><img src="https://i.stack.imgur.com/F3kFg.png" alt="code snippet"> </p>
  
  <p>Hopefully you can see from the above code snippet (sensitive data blurred), I am probably trying to circumvent the authentication process?  The above code example was based a little on some of the code samples in the CRM SDK, and also from <a href="http://www.codeproject.com/Articles/559599/Integrating-your-applications-with-MS-CRM-Online-2" rel="nofollow noreferrer">a code project example</a>.  I don't know if the code above would even work? actually it seems to try, and only when the "serviceProxy.Create" is executed do I get an authentication error.</p>
  
  <p>I have also managed to navigate out of the corporate firewall with the following addition to my app.config file:</p>
  
  <pre><code>&lt;system.net&gt;
              &lt;defaultProxy useDefaultCredentials=”true”&gt;
                  &lt;proxy usesystemdefault="true"/&gt;   
              &lt;/defaultProxy&gt;
  &lt;/system.net&gt;
  </code></pre>
  
  <p>Again, not sure if there is a very basic way to connect? or should I really fall back to the SDK helper files?</p>