Event ID 10016 while settting up O365 PowerShell Script 4.2

  • 7019010
  • 17-May-2017
  • 12-Sep-2017


Retain 4.2
O365 PowerShell Script 4.2
Windows Server 2016


When running the script for the first time the Scheduled Task does not run at the end of the script as expected.
In the Event log an error similar to the below appears:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
 and APPID 
 to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.