software inventry failing in azure migrate

Muhammad Hafiz Imran 0 Reputation points
2025-07-30T20:35:29.9733333+00:00

I have installed the Azure Migrate appliance for VMWare ESXi, and it can discover the server, but is unable to get the software inventory, although I have provided the domain admin credentials, and the strange this is that only one server gave me the application inventory out of 84 servers.
The error I am getting is "Credentials provided for appliance to access the server are incorrect" or "Credentials are not provided in appliance to access the server for guest discovery."

I can connect the servers from the ESXi host using RDP/ping and command Invoke-Command -ComputerName machinename/IP -Credential $cred1 -ScriptBlock { hostname }, but still servers are not giving the software inventory.

Note: I am using Visual Studio Enterprise Subscription – MPN subscription.

Any help?

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Gulnaz Mushtaq 410 Reputation points MVP
    2025-07-30T20:56:28.0366667+00:00

    First check whether the Azure Migrate appliance is deployed and configured and discovery is working i.e., VM list is populated or not. Have you provided domain admin credentials? Also check that servers are reachable via RDP and Invoke-Command or not.

    Try the following troubleshooting:

    As Azure Migrate uses WMI over DCOM to collect software inventory. You need to open Port 135. Do random ephemeral ports (49152–65535). Allow proper WMI permissions on each guest VM.

    Now run following PowerShell command on the target machine to test WMI:

    Get-WmiObject -Class Win32_Product -ComputerName <VMName> -Credential (Get-Credential)

    If this doesn’t work it means there's likely a DCOM or firewall issue. Therefore, temporarily disable the firewall for testing. Review GPOs blocking remote WMI.

     

    Sometimes with domain admin if UAC remote restrictions are enabled, WMI queries may not work. In this case you should check the following registry value on the target servers:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy

    Set it to 1 (DWORD). If you cannot see this you can create it.

    One more thing to confirm that the account is not just a member of Domain Admins, but has explicit local admin rights on the VMs.


  2. Haris Khurshid 0 Reputation points
    2025-07-31T17:05:21.9733333+00:00

    Hi @Muhammad Hafiz Imran ,

    Please try the following steps and ensure that the confidence level is at least 4 stars.

    In the meantime, perform the steps below and revalidate

    Revalidate Credentials in Appliance Portal

    Use either Domain Admin or Local Administrator credentials.

    Go to the Azure Migrate appliance portal, remove and re-add credentials, and revalidate.

    2. Confirm WinRM Configuration on Target VMs

    Run the following command on each VM (or via GPO/script):

    PowerShell command >>>>>>>>>. winrm quickconfig

    • Kindly ensure WinRM service is enabled and running.
    • Allow WinRM in Windows Firewall (TCP ports 5985 and optionally 5986 for HTTPS).
    • 3. Confirm Required VM Settings

    Setting Requirement

    Firewall Inbound access on TCP 5985 (HTTP) and optionally 5986 (HTTPS) enabled.

    WinRM Must be enabled and running on all VMs.

    Credentials Use local admin or domain admin accounts with VM access permissions.

    Network Access Appliance must reach VMs on ports 135, 139, 445, and 5985.

    DNS Resolution Appliance must resolve each VM's hostname. Use FQDNs if required.

    Please do let me know if still not resolved. I will be happy to help you further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.