In the ServiceConfiguration.cscfg file, you have a DiagnosticsConnectionString which as a default is linked to local storage.
<Setting name="DiagnosticsConnectionString" value="UseDevelopmentStorage=true" />
When you deploy your package it will never start correctly (stuck in Busy/Initializing), because you could will be trying to log to the local storage, which doesn’t exist in the cloud.
Fixing this is easy:
- Create a storage account if you don’t already have one.
- In Visual Studio, bring up the properties of your project, then click settings.
- Click on the … next to the DiagnosticsConnectionString.
- Enter your storage details in the dialog.
- Save then deploy.
THIS POSTING IS PROVIDED “AS IS” WITH NO WARRANTIES, AND CONFERS NO RIGHTS