You need the Developer Experiance feature to get a developer license. Install the Desktop Experiance feature and try again.
Solution: Install Developer Experiance
To install Desktop Experience
Click Start, point to Administrative Tools, and then click Server Manager.
In Server Manager, click Features, and then in the Server Manager details pane, under Features Summary, click Add features.
The Add Features Wizard starts.
In the Features list expand User Interfaces and Infrastructure, select Desktop Experience, and then click Install.