I'm using the Get Deployment requests, http://msdn.microsoft.com/en-us/library/ee460804.aspx to retrieve the status of both a named Deployment and a deployment slot, in this case "production".
When the instance within the deployment is running it all works. When I stop the instance in the Azure portal, the calls all fail with a 500 error. Start the instance from the portal and it all works again.
Any ideas what this might be or where to look for more information?