A PowerShell script for configuring connectivity for a SQL Server instance on a Windows Azure virtual machine at the time of deployment.
Read this post on troubleshootingsql.com