 <p>The problem is that <a href="http://msdn.microsoft.com/en-us/library/live/microsoft.live.liveoperationresult.result" rel="nofollow"><code>LiveOperationResult.Result</code></a> isn't necessarily guaranteed to be a <code>Dictionary&lt;string, object&gt;</code>. It is however defined as an <code>IDictionary&lt;string, object&gt;</code>.</p> <p>Mind you, you don't appear to even need to cast the <code>Result</code> property to a dictionary of any sort; you should be able to use the <code>dynamic</code> variable to directly access the list you want to iterate.</p> <pre><code>List&lt;object&gt; folders = (List&lt;object&gt;)result.data; </code></pre>