Trying to run a powershell to change the DTUs for an Azure Elastic Pool. Problem is that it cannot find the resource group. Any ideas what is going wrong. My steps are:
- Sign in and run Azure Cloud shell
- Paste code below:
Set-AzureRmSqlElasticPool –ResourceGroupName "MyResourceGroup"–ServerName "MyServer.database.windows.net" –ElasticPoolName "My_ElasticPool" –Dtu 200 –DatabaseDtuMax 100 –DatabaseDtuMin 50
Full error is:
Set-AzureRmSqlElasticPool : The Resource 'Microsoft.Sql/servers/MyServer.database.windows.net/elasticpools/My_ElasticPool' underresource group 'MyResourceGroup' was not found. At line:1 char:1 + Set-AzureRmSqlElasticPool –ResourceGroupName "FluResourceGroup"–Serve ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Set-AzSqlElasticPool], CloudException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet.SetAzureSqlElasticPool
Completely new to powershell so apologies if this is a donut question?