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

Missing web app site content after apparently successful migration #84

Closed ASchwarz1984 closed 1 year ago

ASchwarz1984 commented 1 year ago

After successfully using Azure App Service Migration Assistant no web site content is available on Azure. We are running a very simple and text only Default.htm site on IIS 10 (Windows Server 2022). However, even though the Migration Assistant reports no issues and states that the migration was successful, we are missing the content of the web site on Azure and the App Services still shows the default "Your web app is running and waiting for your content" page.

Investigative information

Please provide the following:

Repro steps

Provide the steps required to reproduce the problem:

  1. Install IIS with sample web page using powershell Add-WindowsFeature Web-Server -IncludeManagementTools; powershell -ExecutionPolicy Unrestricted Add-Content -Path "C:\inetpub\wwwroot\Default.htm" -Value $($env:computername)
  2. Download and use App Service Migration Assistant to migrate the Web Site to Azure App Service.

Expected behavior

Provide a description of the expected behavior.

Content on Azure App Service is the same as on the VM.

Actual behavior

Provide a description of the actual behavior observed.

Missing content and Default Azure App Service landing page is shown.

ASchwarz1984 commented 1 year ago

Linked to issue #83. If Basic Authentication is disabled on the App Service then App Service Migration Assistant will not upload IIS site content.

Yuichi-Ikeda commented 8 months ago

83 is only provided a workaround for PowerShell Scripts. App Service Migration Assistant is not possible to pause migration process, so we cannot enable Basic Authentication for App Service during migration process. And also, App Service Migration Assistant support migration app to new app service only, not support migration app to an existing app service. Therefore, we cannot use App Service Migration Assistant under Basic Authentication is forced disabled due to Azure Policy enforcement.