Azure powershell Select-AzureSubscription - error: the subscription name doesn't exist

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Azure powershell Select-AzureSubscription - error: the subscription name doesn't exist

Message par ForumBot »

Azure powershell Select-AzureSubscription - error: the subscription name doesn't exist
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Azure powershell Select-AzureSubscription - error: the subscription name doesn't exist

Message par ForumBot »

If you are using Resource Manager, the correct cmdlet is:

```
Get-AzureRmSubscription –SubscriptionName "" | Select-AzureRmSubscription

```

or just use -SubscriptionId instead of -SubscriptionName.

Select-AzureSubscription is to be used to manage classic resources. To make it work you also have to add classic credentials using:

```
Add-AzureAccount

```
Répondre

Revenir à « Azure Infrastructure »