Hello @Krzysztof Michalak Thank you for reaching out to us through Microsoft Q&A platform. Happy to answer any questions you may have!
When using agent-based discovery and assessment for Azure Migrate, you need to open certain ports between the VMs and the appliance/Azure. The following ports need to be open:
Port 443 (HTTPS) - This port is used for communication between the Azure Migrate appliance and Azure.
Port 4433 (HTTPS) - This port is used for communication between the Azure Migrate appliance and the VMs being assessed.
Port 135 (RPC) - This port is used for communication between the Azure Migrate appliance and the VMs being assessed.
Port 445 (SMB) - This port is used for file-based discovery and assessment.
Port 5985 (WinRM) - This port is used for PowerShell-based discovery and assessment.
Port 5986 (WinRM over HTTPS) - This port is used for secure PowerShell-based discovery and assessment.
It is important to note that these ports need to be open bidirectionally between the Azure Migrate appliance and the VMs being assessed. You can open these ports using the Windows Firewall or any other firewall software that you are using.
Hope this helps. Let us know if you have any further questions.
If the response helped, do "Accept Answer" and up-vote it