Ich versuche, einen neuen Web-App-Dienst in Azure von Powershell zu erstellen, sondern laufe in die folgenden Fehler:New-AzureRmResourceGroup: 'this.Client.SubscriptionId' nicht null sein kann
New-AzureRmResourceGroup : 'this.Client.SubscriptionId' cannot be null.
$webAppName = "powershelldemowebapp"
$ResourceGroupName = "PowerShellResourceGroup"
$Location = "East Asia"
Login-AzureRmAccount -ServicePrincipal -Tenant 000000-0000-0000-0000-00000 -Credential $psCred
Get-AzureSubscription
Select-AzureSubscription -SubscriptionId 00000-0000-0000-000-0000
New-AzureRmWebApp -Name $webAppName -ResourceGroupName $ResourceGroupName -Location $Location
Wenn Sie mehrere ARM-Abonnements haben, mit 'Select-AzureSubscription' Sie konnte nicht das Standard Abonnement ändern. Das Cmdlet ändert nur klassische Abonnements. –