I encountered a strange issue when using the Azure Cloud Services(Web and worker roles). When I tried to publish the project to Azure using Visual Studio, I couldn’t continue after selecting the Azure subscription I wanted to deploy to. Instead I got the following error message:
Cloud services are not available in this subscription
The error is caused because the Cloud Services still use the old deployment model that is based on Azure Service Management (ASM). To deploy an ASM based component to Azure you need to be ‘co-admin’ for the subscription. Our subscription administrator made me ‘Owner’ on the new portal but this role only has impact on the new ARM based resources.
So I had to ask our subscription admin to login to the old portal(https://manage.windowsazure.com) and make me co-administrator:
- Login to the old portal
- Click on Settings –> Administrators
- Click on the Add button at the bottom
- Enter the co-admin email address and click on the OK button.
After I got the confirmation from our subscription administrator, I hitted refresh in Visual Studio and the error disappeared. Great!