Failed to create COM object `Accpac.Session': Access is denied

I have Sage 300 ERP 2017 running on Windows Server 2016, and I am trying to communicate with the COM API with PHP. It works perfectly fine when run directly on the server where Sage 300 is installed. 

But when I try with any other computer, I am unable to communicate with the Accpac.Session COM object. I get the error 

Failed to create COM object `Accpac.Session': Access is denied.

 

Here is the single line of code I am using, it fails and stops at this first line.

$session = new COM("Accpac.Session")

 

Previously, before I upgraded, using Sage Accpac 5.6 and Windows Server 2012 I never had this "Access Denied" issue.