Azure / App-Service-Migration-Assistant

Azure Websites Migration Assistant for Windows is a tool that allows customers to move their existing sites hosted on IIS servers into the cloud on Azure App Service. For more information check out https://appmigration.microsoft.com .
https://appmigration.microsoft.com
MIT License
74 stars 60 forks source link

App Service Migration assistant - Login to Azure step not working #90

Closed itconsultor closed 6 months ago

itconsultor commented 6 months ago

After executing the App Service Migration Tool in a VM, in the Login To Azure Step, I provided the code, did the login with Azure account, and after that when I come back to the Migration app, the next button is not enabled, just grayed out.

Investigative information

Please provide the following:

Repro steps

Basically I was following the steps in this lab exercise: https://learn.microsoft.com/en-us/training/modules/migrate-app-service-migration-assistant/

  1. Create Windows Server 2019 with IIS and .NET 4.5 features installed.
  2. Provision the VM with the example website "Parts Unlimited"
  3. Install and execute the App Service Migration Assistant

All these steps where done by using the Azure Template from the lab URL described above

The weird thing is that the first time I did the lab it worked, but in order to show the steps i deleted the resource sin Azure and tried to do it again, but it never worked again.

Expected behavior

Provide a description of the expected behavior.

See the screen when the migration app asks for subscription, resource group, destination site and related info.

Actual behavior

App migration assistant app gets stuck in Login to Azure step, despite I already did the authentication using the code and Azure account:

image

Known workarounds

Nothing seems to make it work again.

itconsultor commented 6 months ago

The problem was that the authentication process wasn't asking for the security code it send to the alternate email. So what I didi was first, login to portal.azure.com do the full login with the code request to the alternate email, and hen I successfully got into azure, execute the App Service Migration tool again, and it worked just fine.