In case your Windows Server 2012/R2 does not have access to the internet to verify MAK key you will need to do phone activation. Unfortunately you can’t do this so easily via GUI. But via CMD you can.
Start command line as an admin and run following command:
slui 4
Activation window for phone call will appear and you can activate windows server 2012 by phone.