If you are seeing a request for an activation code despite being online, it may be due to: Recent hardware modifications. Upgrading or reinstalling your operating system.

And somewhere deep in the cold mathematics of reality, a lock turned.

Difference between product key and activation code - Microsoft Support

Most software uses one of the following two methods for activation: Launch the application.