Description | This article describes how to solve an issue where, when trying to add a new license for a FortiAnalyzer, a popup appears with the error 'Failed to update VM License'. |
Scope | FortiGate VM, FortiAnalyzer. |
Solution |
FortiGate will display error 'License is invalid for the current VM Configuration' when trying to upload a license file for a FortiAnalyzer in FortiGate.
The popup 'failed to update VM license' appears:
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 using information mentioned in 'code' and 'status' field to find out the reason for invalid license status:
diagnose hardware sysinfo vm full
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 this document 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'. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.