Nov 10 2019 02:06 AM - edited Nov 10 2019 02:39 AM
hi
does anyone use this sctipt?
https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script
https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/wvd-scaling-script
I get the following error:
Select-AzureRmSubscription : Please provide a valid tenant or a valid subscription.
At C:\RDSscaling\basicScale.ps1:170 char:1
+ Select-AzureRmSubscription -SubscriptionId $currentAzureSubscriptionI ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Set-AzureRmContext], ArgumentException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.SetAzureRMContextCommand
-------------------
I know the teanant and subscriptionID is correct - but can it be something with the permissions?
Hope someone can help me
/Lars
Dec 30 2019 11:43 AM
@Thobiasen : Hmm... are you able to run the same steps manually in a local PowerShell instance?