Troubleshoot the Azure Migrate appliance by verifying network connectivity to Azure endpoints, checking the status of the appliance services, and validating the registration key. Most appliance failures stem from firewall blocks, DNS resolution issues, or insufficient permissions on the virtual machine hosting the appliance. By systematically checking the connectivity logs and service health, you can identify whether the bottleneck is local to the hypervisor or related to the Azure cloud environment.

What You'll Need

  • Administrator access to the VM hosting the Azure Migrate appliance.
  • Access to the Azure Portal with a role that allows managing Azure Migrate projects (e.g., Contributor or Owner).
  • Network documentation listing allowed ports and outbound firewall rules for your environment.
  • The appliance configuration tool (the web-based interface accessed via HTTPS).
  • The registration key generated from the Azure Migrate project in the portal.

Step-by-Step

  1. Verify Appliance Service Status: Log into the appliance VM and open the services manager. Ensure that all Azure Migrate-related services are in a "Running" state. If a service is stopped or stuck in "Starting," attempt a manual restart. Note that labels for these services may vary slightly depending on the appliance version installed.
  2. Run the Connectivity Check: Open the appliance configuration manager in a web browser. Navigate to the connectivity check section. This tool pings the required Azure endpoints to ensure the appliance can communicate with the cloud. If any endpoint shows a failure, document the specific URL that is unreachable.
  3. Validate DNS Resolution: Open a command prompt on the appliance VM and attempt to resolve the Azure endpoints identified in the connectivity check using the nslookup command. If the DNS server cannot resolve the Azure URLs, the appliance will fail to register or upload discovery data.
  4. Audit Firewall and Proxy Settings: Check the outbound rules on your corporate firewall. The appliance requires HTTPS (port 443) access to various Azure service endpoints. If a proxy server is being used, ensure the proxy settings are correctly entered in the appliance configuration tool and that the proxy is not stripping SSL certificates, which would cause a handshake failure.
  5. Re-verify the Registration Key: If the appliance fails to register, return to the Azure Migrate project in the Azure Portal. Generate a new project key and copy it exactly. Paste this key into the appliance configuration tool. Ensure there are no trailing spaces or hidden characters in the text field.
  6. Check Hypervisor Permissions: For VMware or Hyper-V environments, ensure the service account used by the appliance has the necessary read-only permissions to the vCenter or Hyper-V host. If the appliance can connect to Azure but cannot find VMs, the issue is likely a lack of permissions at the virtualization layer.
  7. Review Appliance Logs: Navigate to the log folder on the appliance VM (typically found in the installation directory or under ProgramData). Look for error logs that mention "Timeout," "Unauthorized," or "Connection Refused." These logs provide the specific error codes needed to differentiate between a network block and an authentication failure.
  8. Update the Appliance: Check for available updates within the configuration manager. An outdated appliance version may use deprecated API endpoints, leading to intermittent communication failures with the Azure Migrate service.

Common Mistakes

One of the most frequent mistakes is neglecting the "Outbound Only" nature of the appliance. Many administrators mistakenly try to open inbound ports to the appliance VM from the internet. The Azure Migrate appliance does not require any inbound ports to be open; it initiates all communication outbound to Azure. Opening inbound ports creates unnecessary security risks without solving connectivity issues.

Another common error is the use of an incorrect account for discovery. Users often provide a Domain Administrator account when a limited, dedicated service account with specific vCenter or Hyper-V roles is preferred and safer. Conversely, providing an account that lacks the "Read-Only" role for the entire inventory will result in a partial discovery where some VMs appear and others do not, leading to confusion during the assessment phase.

Finally, many users overlook the resource requirements of the appliance VM. If the VM is under-provisioned (e.g., too little RAM or CPU), the appliance services may crash or time out during the discovery of large environments. This often manifests as the appliance appearing "Healthy" in the configuration tool but failing to upload data to the Azure portal.

Tips

To speed up troubleshooting, always start with the connectivity check tool built into the appliance. It is designed to isolate the most common point of failure—the network—before you spend time digging into service logs or permission sets. If you are in a highly restricted environment, request a "wildcard" allow-list for the Azure Migrate endpoints from your network team to avoid the tedious process of adding individual URLs one by one.

When dealing with large-scale migrations, deploy the appliance in a subnet that has the most direct path to the internet or the Azure ExpressRoute/VPN gateway. This reduces the number of hops and potential points of failure (such as multiple layers of firewalls or nested proxies) that the appliance traffic must traverse.

Always take a snapshot of the appliance VM before making significant changes to the OS or installing updates. While the appliance is primarily a configuration tool, a corrupted update or a mistaken registry change can necessitate a full redeployment, which requires regenerating keys and re-configuring discovery settings.

Troubleshooting

If the appliance remains in a "Not Registered" state despite having a valid key and open ports, check for SSL inspection on your network. Many corporate firewalls perform deep packet inspection (DPI) on HTTPS traffic. If the firewall replaces the Azure SSL certificate with its own internal certificate, the appliance will reject the connection for security reasons. To fix this, create an SSL bypass rule for the Azure Migrate endpoints.

If the discovery process starts but then stops or fails to populate the Azure portal, check the appliance's disk space. The appliance caches discovery data locally before uploading it. If the system drive runs out of space, the discovery service will crash. Expand the virtual disk of the appliance VM and extend the volume within the OS to provide more headroom.

When the appliance cannot communicate with the vCenter or Hyper-V host, verify that the appliance VM is on the same network or has a routable path to the management IP of the hosts. Use the ping command from the appliance VM to the vCenter server. If the ping fails, check for VLAN tagging issues or internal firewall rules on the host side that might be blocking the appliance's IP address.

If you encounter a "Project Not Found" error during registration, ensure that the appliance is being registered to the correct Azure region. The appliance must be registered to a project located in the same region where you intend to perform the migration. If the project was moved or deleted, you must create a new project and generate a new key.

Frequently Asked Questions

Why is my appliance showing a connectivity failure for some endpoints?

This usually indicates that your corporate firewall is blocking outbound traffic on port 443 to specific Azure URLs. You must ensure all required endpoints are whitelisted in your network security groups and firewall rules.

Do I need to open any inbound ports for the appliance to work?

No. The Azure Migrate appliance only requires outbound connectivity to Azure. No inbound ports should be opened from the internet to the appliance VM.

What should I do if the registration key is rejected?

Verify that you copied the key exactly as it appears in the Azure Portal. If it still fails, generate a new key in the Azure Migrate project and try again, ensuring no extra spaces are included.

Can I use a proxy server with the Azure Migrate appliance?

Yes, the appliance supports proxy servers. You must enter the proxy URL and credentials in the appliance configuration manager and ensure the proxy allows traffic to the Azure endpoints.

Why are some VMs missing from the discovered list in Azure?

This is typically caused by insufficient permissions for the service account used for discovery. Ensure the account has the necessary read-only permissions across the entire vCenter or Hyper-V environment.

How often should I update the Azure Migrate appliance?

You should update the appliance whenever a new version is available in the configuration manager to ensure compatibility with the latest Azure API changes and to receive performance improvements.