The license is granted after confirming the dialog. But Premium functions are still greyed out.
Do either of these SPR's address your issue?
SPR 942804 - It looks like this is related to Windows 10, and should be fixed in 2017 SP3.0
SPR 681137 - This one is still open
It looks like they both have workarounds.
Thank you for the information, the workaround was correct. Obtaining licenses from the manager, with SW closed, did not produce the error. However Premium functions are still not available. Will try upgrading from 2012 to 2016.
Do you mean to say the add-ins listed under 'Tools', 'Add-ins' are not able to turn on or that they are just not listed there at all?
Under the Add-ins tab, the Simulation button was greyed out even with proper licenses. Upgraded to SW 2016 and now functions and licenses are working.
Just so the issue doesn't go unanswered you were probably running into issues caused by Windows Update KB3072630 that impact add-ins for all versions of SolidWorks released before 2015 SP5.0. This process would fix it (GoEngineer - Fix for Add-ins Being Missing).
I see this error most commonly occur when an attempt is made to borrow a license while SolidWorks itself is open. The program needs to be closed because the borrow system is trying borrow not only a SolidWorks Premium license but a SolidWorks Standard license as well. If the program is open then the machine has a SolidWorks Standard license already in use and the borrow function is not allowed to give the machine two of the same license; it then gives an error like this.
Was SolidWorks open when you tried to borrow the SolidWorks Premium license?
Retrieving data ...