I'm trying to manage an Azure SQL Datawarehouse, specifically pause it in the evenings when nobody is using it. I've downloaded, logged in, and can successfully mange other resources using PowerShell ISE. However, when I go to pause the instance it says invalid Resource Group.
When I call Get-AzureRmResourceGroup only a few show up, at least 8 are missing. Everything is visible in the azure portal.
Calling Select-AzureRmSubscription -SubscriptionId xxx
(not Select-AzureSubscription -SubscriptionId xxx
- note the "RM" in the middle of the correct call) should allow you to specify the appropriate subscription to see the resources you're looking for with Get-AzureRmResourceGroup
.