You might see this message during simulation in TIA Portal even if you have the engineering license, because the simulation mimics the runtime environment's license requirements. GMP/Audit Trail:
The message "License key not available" does not always mean you didn't buy the software. Here are the five most common root causes: license key not available wincc logging for runtime advanced