0
votes

I have access to 2 Azure Subscriptions. One is the Developer one I get from having MSDN (Developer Program Benefit). The other is the company subscription (Currently an Enterprise Agreement but was converted from PayAsYouGo).

I am a Global Administrator in both. For both subscriptions I use my Microsoft Account. (Because MS is having some problem with company logins and AzureADs).

When in the Azure portal (portal.azure.com) I can switch subscriptions using the drop down in the top right.

When I use Visual Studio (Professional 2015 and Ultimate 2013) I can not use the Company Subscription. In Visual Studio (either) when I select:

Server Explorer | Azure | Manage and Filter Subscriptions

I get a dialog Manage Microsoft Azure Subscriptions. In the Subscription tab I can see both my Subscriptions. However the company subscription is marked with a warning and the message.

"This subscription is not supported by Server Explorer"

I get a similar problem when using Powershell. When I set my credentials using Add-AzureAccount and then use Get_AzureSubscription I can only see my MSDN subscription.

I want to be able to use Powershell and Visual Studio with the company Azure subscription. What can I do?

1

1 Answers

1
votes

This behavior could be due to either of your subscriptions don't support classic deployment model (see here for more information). For example Azure CSP subscription doesn't support classic resources.

Don't use Server Explorer for Azure subscriptions in Visual Studio, use Cloud Explorer instead (in VS 2015 from top menu choose View - Cloud Explorer). Cloud Explorer supports all types of Azure subscriptions. For Powershell try below:

Login-AzureRMAccount

or

Add-AzureRMAccount

then

Get-AzureRMSubscription