Hi @VirajDalave
I recently tried the task, and it worked fine.
Could you refer to this post and see if it helps?
Hi @Santosh_KodeKloud I think you are hinting to create server from the database creation flow. I tried the same. It is not working
I got the solution choose westus region
~ ➜ az sql server list --resource-group kml_rg_main-23bd3d495c514a9f --output table
~ ➜ az sql server create --resource-group kml_rg_main-23bd3d495c514a9f --name datacenter-server-3331 --location eastus --admin-user datacenter-admin --adm
in-password ‘P@ssw0rd123!’
(RegionDoesNotAllowProvisioning) Location ‘East US’ is not accepting creation of new Windows Azure SQL Database servers at this time.
Code: RegionDoesNotAllowProvisioning
Message: Location ‘East US’ is not accepting creation of new Windows Azure SQL Database servers at this time.
~
az sql server create --resource-group kml_rg_main-23bd3d495c514a9f --name datacenter-server-3331 --location westus --admin-user datacenter-admin --admi
n-password ‘P@ssw0rd123!’
(InvalidResourceLocation) The resource ‘datacenter-server-3331’ already exists in location ‘eastus’ in resource group ‘kml_rg_main-23bd3d495c514a9f’. A resource with the same name cannot be created in location ‘westus’. Please select a new resource name.
Code: InvalidResourceLocation
Message: The resource ‘datacenter-server-3331’ already exists in location ‘eastus’ in resource group ‘kml_rg_main-23bd3d495c514a9f’. A resource with the same name cannot be created in location ‘westus’. Please select a new resource name.
Doesn’t work for ![]()
