title: "The hosted service is not valid" when I try to list hosted serviced in my Windows Azure subscription
body: <p>I'm trying to query the list of hosted services in my Windows Azure subscription. In my C# program I send a request to URL</p>
  
  <pre><code>https://management.core.windows.net:443/&lt;my-subscription-id&gt;/services/hostedservices
  </code></pre>
  
  <p>where <code>&lt;my-subscription-id&gt;</code> is taken from the Azure Management portal and represents a GUID as a string like this:</p>
  
  <pre><code>abcdef01-2345-4678-90ab-cdef0abcdef0
  </code></pre>
  
  <p>without braces or anything. I've already dealt with all sorts of certificate problems, so I assume that certificates are okay.</p>
  
  <p>The response contains this XML:</p>
  
  <pre><code>&lt;Error xmlns="http://schemas.microsoft.com/windowsazure"
     xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;Code&gt;BadRequest&lt;/Code&gt;
        &lt;Message&gt;The hosted service is not valid.&lt;/Message&gt;
  &lt;/Error&gt;
  </code></pre>
  
  <p>Which looks like of I wanted to query the status of a specific service but specified its id incorrectly. Yet <a href="http://msdn.microsoft.com/ru-ru/library/ee460781.aspx" rel="nofollow">MSDN confirms</a> that I use the right URL for getting the list of services.</p>
  
  <p>What am I doing wrong and how do I resolve this?</p>