In this post, I will show you how to use an Azure CLI to backup an Azure Virtual Machines.
Code
Please change the items in caps to match your environment:
az backup protection backup-now --backup-management-type AzureIaasVM --resource-group RESOURSE_GROUP_NAME --vault-name MigratorVault --container-name VM_NAME --item-name VM_NAME
Paste the code to Azure CLI or Azure Cloud Shell.
You can monitor the progress from the Backup jobs screen in Azure recovery services vault.