Troubleshooting licenses

Linux Windows

This document shows you how to resolve issues related to importing and migratingvirtual machine (VM) instances to Compute Engine that have a misappliedlicense.

For example, learn how to resolve issues with a VM that has an on-demand licenseinstead of a bring your own license (BYOL). For information about the differenttypes of licenses, seeAbout licenses.

Mitigate incorrect license imports or migrations

If you tried to import or migrate a VM into Compute Engine with a BYOL or BYOSlicense, but the VM'slicense stringis not appended withbyol orbyos, then your license was not successfullyimported or migrated with the VM.

To resolve this issue, do one of the following depending on how you imported ormigrated the VM:

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.