I am setting azure subscription in powershell with "Set-AzureSubscription –DefaultSubscription $SubscriptionID" API.
But it is giving me error as "Set-AzureSubscription : A parameter cannot be found that matches parameter name 'DefaultSubscription'."
Please guide me on if there is change in azure powershell API's.
Yes, there was a change in the PowerShell APIs in a recent update. The Select-AzureSubscription now has the parameter to set the default. The name of that parameter is -Default (instead of -DefaultSubscription).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With