Troubleshooting Tip: Error 'License is invalid for the current VM Configuration' when using incorrect product license
| Description | This article describes how to solve an issue where, when trying to add a new license that belongs to a different Fortinet product, a pop-up appears with the error 'Failed to update VM license'. |
| Scope | FortiGate VM. |
| Solution | FortiGate will display the error 'License is invalid for the current VM Configuration' when trying to upload a license file from a different product, such as FortiAnalyzer or FortiFirewall, in a FortiGate VM.
The pop-up 'Failed to update VM license' appears as below when uploading a new license file via FortiGate VM GUI:
Execute 'get system status' to validate SN and license status:
It is not possible to install the license of another product on the FortiGate VM even when the expiration date is still active. Use a valid FortiGate license for the Firewall.
Run the following CLI command to verify the status of the VM license and use the information mentioned in the 'valid', 'status', and 'code' fields to find out the reason for the invalid license status:
diagnose hardware sysinfo vm full
For example, if those 3 fields are combined to show the value below, it indicates that the VM is unlicensed. "status: 3" indicates an error.
Note: A code value outside of the 2xx-3xx range usually indicates a license issue is ongoing. If the license is managed by FortiFlex, the code value ranges will be different (1,57,58, etc.). Consult VM license to find more information to determine the status of the VM license, including FortiFlex, using the value of fields such as 'code', 'status', and 'valid'.
Related articles: |




