The below query helped in resolving the issue.
Thanks Jason Yeung for your response.
New-AzSqlVM -Name "myVMName" -ResourceGroupName "myResourceGroupName" -Location "West US" -LicenseType PAYG
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Currently we have a resource group, which contains a Virtual Machine and SQL Virtual Machine (and a few other resources). The VM and SQL VM has the same name:
I want to move this resource group (and its resources) to another subscription. We tried using Resource Mover, but we couldn't as there are backups. I tried the steps in the following link:
https://petri.com/copy-azure-vm-using-managed-disk-snapshots/
I was successful in moving 5 of the 6 resources to the new subscription, but was unable to move the SQL virtual machine:
I tried to create a SQL virtual machine, but it says I can't create one with the same name:
I found that in order to create a VM and SQL VM's with the same name, in the above image, I have to choose an image that has SQL Server and Windows. But this doesn't allow me to use the original managed disk (it only has an OS disk) and it also creates a couple of more disks, which are not in the original resource group.
I was wondering if there are recommendations on how to create a SQL VM that has the same name as the VM in the same resource group and are also linked to each other.
Jason
The below query helped in resolving the issue.
Thanks Jason Yeung for your response.
New-AzSqlVM -Name "myVMName" -ResourceGroupName "myResourceGroupName" -Location "West US" -LicenseType PAYG
Hello Jason Yeung
Thank you for posting your query on Microsoft Q&A platform.
When moving virtual machines configured with Azure Backup, the operation is blocked if restore point collections (snapshots) exist in the Recovery Services vault. To proceed:
The below query helped in resolving the issue
New-AzSqlVM -Name "myVMName" -ResourceGroupName "myResourceGroupName" -Location "West US" -LicenseType PAYG
Thanks,
Suchitra.