Hello @Zeynep Kamali Thank you for reaching out to us on Microsoft Q&A community forum. Happy to assist! Based on the information provided, I see that you are performing discovery of servers (Scan) and encountered an error "Unable to connect to the server due to invalid credentials". I suggest you follow the instructions from this link - https://video2.skills-academy.com/en-us/answers/questions/514610/azure-migrate-discovery-and-assessment-error-21479
Either of the below two posts should help resolve the issue. #1:
#2:
If none of the above help resolve the issue, then your best bet would be to contact Azure migrate technical support team by creating a support ticket. The ticket enables you to work closely with the support engineers and get a quick resolution to your issue. Here is the link - https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request to create support case.
---If the response helped, do "Accept Answer" and up-vote it