Hi,
Usually it is due to resources on the source server and did you tried to provide more cores or memory to that server and run the commands again. If possible did you restarted the server and tested again?
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
----
Please don't forget to upvote and Accept as answer if the reply is helpful
After successfully added server to discovery from Azure Migrate Appliance Server, We are getting 10002 error in discovered servers in Azure Migrate as per below screenshot