Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to migrate despite errors #26

Closed
spaelling opened this issue Jan 17, 2020 · 3 comments
Closed

option to migrate despite errors #26

spaelling opened this issue Jan 17, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@spaelling
Copy link

Something like the authentication type being WindowsAuthentication should not block the migration. For production it is not an option to disable this without a service window. Using something else like AAD auth in the web app would also require some code changes which one possibly will want to do on the migrated app.

Would be great if it is an option to "continue at own risk"

@wadeh-ms
Copy link

wadeh-ms commented Jan 17, 2020 via email

@spaelling
Copy link
Author

At this time, the Migration Assistant is intended to do a “lift and shift” of sites that can run unmodified under Azure App Service. In the case where a site has known incompatibilities with the service, it should provide sufficient information so that the site administrator can address the issues before migration.

That just severely limits the number of sites that is possible to migrate. My experience thus far is that lots and lots of sites use WindowsAuthentication, and in many cases simply to limit who can access the site, not necessarily using the token to identify the user.
I also often get an incombatability from location tags, which I do not understand exactly what is, but enough to not removing them in a production environment.

What I have done to use the migration tool is to export sites and import on a different VM with IIS installed. I am then free to change settings for a site to make it compatible. But in many cases it would be just ok to migrate an incombatible site and make a minor change once running in Azure.

I hope you will reconsider you stance, perhaps make it a switch when you run the migration tool, so that it is a very intentional use to ignore errors and migrate anyways.

@krolson
Copy link
Contributor

krolson commented Aug 3, 2021

The ability to package (and migrate) a site even with a failed configuration check is now possible using the PowerShell scripts option (use "-MigrateSitesWithIssues" flag on Get-SitePackage.ps1 script) - the scripts are a lightweight option that involves simply dropping a directory of scripts on the machine (or at least a machine-accessible location) in order to try it out.

Main info page: https://github.com/Azure/App-Service-Migration-Assistant/wiki/PowerShell-Scripts
Place to download: https://azure.microsoft.com/en-us/services/app-service/migration-assistant/

@krolson krolson closed this as completed Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants