Windows Server 2016 not activating

When tying to activate via settings was getting Error Codes: 0x87E10BC6 and 0x800705B4

To resolve.

In Run, Type slui 3

Press enter

Enter product key

Click next to Activate