I was able to correct the problem by doing an OnLine Repair of the product.
PowerShell ISE script fails ResourceUnavailable: (:) [New-Object], COMException Outlook.Application
PowerServe ISE script running successfully until 7/4/2025 now fails on: 2 $olApp = new-object -comobject outlook.application
Error Message:
new-object : Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following
error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
At C:\Users\ljohnson\Documents\Change Contact ClientID.ps1:2 char:10
2 $olApp = new-object -comobject outlook.application
- CategoryInfo : ResourceUnavailable: (:) [New-Object], COMException
- FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand
I have tried:
-verified permissions
-re-regestered outlook and dlls
-verified both Powershell and Outlook are 64 bit
-run powershell as an administrator