I'm using the 'Migrate to ARM' tool in the Azure portal but running into an error as referenced in this post here Azure Portal - Migrate to ARM - Failed during prepare step.
Has anyone run into this error during the prepare step? The validation works, but I get that same error once I begin the 'Prepare' step.
Can you please share the error message screenshot?
Can you try to migrate Classic Storage account o ARM using PowerShell or CLi and let me know the status?
Sometimes this type of issue may occur when there was VM images, VM machines with disks, or unattached disks in the storage account. Please check to see if this is the case and delete them then retry the migration. The commands to find these resources are in the section here.
Recommended to refer to this link and delete if there is any orphan disk object and images that might be impacting the storage account migration.
Have you referred to the suggestion mentioned in this article: https://learn.microsoft.com/en-us/azure/virtual-machines/migration-classic-resource-manager-errors
Step-by-Step: Migrate your classic Cloud Services to ARM–Storage Migration.
Related
I'm trying to use install nop-commerce from the marketplace azure.
I create the web app and setting up the sql server in the same wizard.
I'm putting both in the same resource-group name.
However, I'm getting the deploment issue below:
Deployment to resource group 'felisbabies' failed.
Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
Anyone face this similar sceneario?
You can see here i wrote cosmetic article on it nopCommerce deployment with azure
I am new to Terraform and was wondering if we can use Terraform to implement a kind of disaster recovery for Azure API manager.
I know there is disaster recovery implementation by Microsoft for API manager but I wanted to explore if I can just recreate the whole thing using Terraform.
I am able to recreate the API manager using Terraform with the same configuration/APIs etc.
The only thing which is unclear to me how to back up and recreate the same subscriptions/products in API manager using Terraform.
For example, if someone deletes the API manager, I want to recreate it using Terraform and import all the existing products/subscriptions (keys).
Any ideas?
Similar to using ARM Templates, you can use Terraform to deploy Azure APIM as well. You refer the azurerm provider docs for more information.
But for all runtime data like users & subscriptions, you will have to consider setting up a backup/restore system utilizing the built-in feature.
After deploying APIM using terraform, you will have to restore the runtime data separately. Also, depending on your Recovery Time Objective, you will have to take frequent backups.
PS: Logic Apps are a great way to setup automatic backups. There is an official sample that you can refer to for this.
I'm trying to back up an azure vm to acronis, but whenever I try to deploy the acronis extension on azure I recieve the following error:
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
VM has reported a failure when processing extension 'AcronisBackup'. Error message: "Failed to connect to Acronis Backup Cloud. Check specified credentials and firewall settings. For more information please refer to https://kb.acronis.com/content/47189"
It basically says that the provisioning state failed. How can i fix this?
Issues related to installation of Acronis extension should be investigated with the help of Acronis support team.
Just a suggestion, you can try redeploying the VM to see if that lets you successfully install the extension. If issue persist, reach out to support and share below information with the technical professionals.
Error details with screenshot if possible
Detail steps followed for deployment
We are trying to upload the artifact to blob storage from TFS build server. AzCopy task needs the azure subscription details, which is not available to us. We need to upload the artifacts to azure blob storage using azure blob storage connection string. Is there a way to upload files to blob storage using connection string only.
Anything you can do from PowerShell you can do from build and release. There is a task named "PowerShell" and one named "Azure PowerShell". If you don't have the Azure subscription details I doubt you will be able to use the "Azure PowerShell" task. However, if you have a PowerShell script you run locally that works you might be able to simply run it as part of your build with the "PowerShell" task.
Option two is have someone that knows the details to create an Azure Service Endpoint for you. They never have to share the details with you to make the connection. Once the connection is created you can use it without having to ever know the details.
I have run the powershell script for creating azure VM. An error occurs "Cannot find VM current status" when another user too creates VM in the same cloudservice. How to resolve this issue. Thanks in advance.
Azure has two different deployment models for creating and working with resources: Resource Manager (the new one) and Classic (the old one). It is transitioning from classic to Resource Manager.
You are using Cloud Services, which exist only with the classic deployment model. One of the problem with classic is the fact that most operations on your resources cannot be paralyzed.
When you edit the state of a cloud service, it won't accept any other operations until the first one is done.
Microsoft recommends that most new deployments use the Resource Manager model.
If you can, you should consider to migrate to the new model.
Please see:
https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-azurerm-versus-azuresm/
https://azure.microsoft.com/en-us/documentation/articles/resource-group-overview/
https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager
https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-azure-manage-vm-asm-arm/