• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

None of the PMPC applications install from within a task sequence

Started by PC2NR, March 16, 2021, 09:17:04 AM

Previous topic - Next topic

PC2NR

I have been trying to deploy PMPC applications through a task sequence in SCCM alongside other applications. The other applications get installed fine, but none of the PMPC applications are installed.
If I deploy the PMPC apps as available in software center, they DO install. just not through the task sequence. Any help is most appreciated!

Andrew Jimenez (Patch My PC)

Hi,

This is a common issue because we use PowerShell scripts as our detection method. Can you please try the fixes documented here: https://patchmypc.com/applications-fail-to-install-during-osd-in-sccm-with-error-authorizationmanager-check-failed-0x87d00327 and let me know if they help?

PC2NR


PC2NR

Quote from: Andrew Jimenez on March 16, 2021, 09:33:46 AM
Hi,

This is a common issue because we use PowerShell scripts as our detection method. Can you please try the fixes documented here: https://patchmypc.com/applications-fail-to-install-during-osd-in-sccm-with-error-authorizationmanager-check-failed-0x87d00327 and let me know if they help?

Hi Andrew,
I followed the guide to install the certificate prior to the install application step, and did a new test image on a physical machine. Some of the apps installed, but many others did not. Here is the output I found regarding one app that did not get installed taken from the AppDiscovery.log

    Performing detection of app deployment type Zoom Meetings 5.4.59931(ScopeId_7AD86608-D29B-4186-8253-953864A26243/DeploymentType_9c501084-0c8b-414e-b217-e0713b617e37, revision 2) for system.   AppDiscovery   2021-03-16 11:58:07 AM   112 (0x0070)
+++ Application not discovered with script detection. [AppDT Id: ScopeId_7AD86608-D29B-4186-8253-953864A26243/DeploymentType_9c501084-0c8b-414e-b217-e0713b617e37, Revision: 2]   AppDiscovery   2021-03-16 11:58:08 AM   112 (0x0070)
+++ Did not detect app deployment type Zoom Meetings 5.4.59931(ScopeId_7AD86608-D29B-4186-8253-953864A26243/DeploymentType_9c501084-0c8b-414e-b217-e0713b617e37, revision 2) for system.   AppDiscovery   2021-03-16 11:58:08 AM   112 (0x0070)
Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_7AD86608-D29B-4186-8253-953864A26243/DeploymentType_c225a26d-31ff-400a-97e9-81f6ca6447e3" AND Revision = 1)"   AppDiscovery   2021-03-16 12:19:47 PM   5272 (0x1498)

Andrew Jimenez (Patch My PC)

Interesting. In C:\Windows\Temp there should be a log for PatchMyPC-Detection, can you check that log and see if the detection script ran and found anything? It also might be helpful to check PatchMyPC-Scriptrunner in the ccm\logs folder.

If you'd like, you can also submit a case and attach the log files here: https://patchmypc.com/technical-support

PC2NR

OK, I changed a couple things and initiated re-imaging again. It won't complete before I leave for the day. I will check it tomorrow morning.
Thanks for your assistance

PC2NR

Looks like the fix is working now. I have successfully imaged a machine and all the PMPC applications have installed.
Thanks again for your help Andrew!

Andrew Jimenez (Patch My PC)


Marco

Hi, I have the same issue here and followed the instructions (https://patchmypc.com/applications-fail-to-install-during-osd-in-sccm-with-error-authorizationmanager-check-failed-0x87d00327) but it still doesn't work.

I've also checked C:\Windows\Temp but cannot find any logfile. Can someone help me?

For further information: The applications are also available in software center but I am unable to use them in a task sequence.

Thanks, Marco

Marco

    In-line script returned error output: & : File C:\WINDOWS\CCM\SystemTemp\52c2ec54-8301-4850-9cd9-3c866e728c30.ps1 cannot be loaded. A certificate chain
processed, but terminated in a root certificate which is not trusted by the trust provider.
At line:1 char:3
+ & 'C:\WINDOWS\CCM\SystemTemp\52c2ec54-8301-4850-9cd9-3c866e728c30.ps1 ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
0 == *pulExitCode, HRESULT=00000001 (X:\bt\1204713\repo\src\DCM\WmiProvider\AppExcnLib\appexcnlib.cpp,1039)   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
Script Execution returned error message: & : File C:\WINDOWS\CCM\SystemTemp\52c2ec54-8301-4850-9cd9-3c866e728c30.ps1 cannot be loaded. A certificate chain
processed, but terminated in a root certificate which is not trusted by the trust provider.
At line:1 char:3
+ & 'C:\WINDOWS\CCM\SystemTemp\52c2ec54-8301-4850-9cd9-3c866e728c30.ps1 ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
, ExitCode: 1   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
  Script Execution Returned :1, Error Message: & : File C:\WINDOWS\CCM\SystemTemp\52c2ec54-8301-4850-9cd9-3c866e728c30.ps1 cannot be loaded. A certificate chain
processed, but terminated in a root certificate which is not trusted by the trust provider.
At line:1 char:3
+ & 'C:\WINDOWS\CCM\SystemTemp\52c2ec54-8301-4850-9cd9-3c866e728c30.ps1 ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
. [AppDT Id: ScopeId_52A68B5B-1594-49DD-95C4-99878CCBE2BB/DeploymentType_72135f26-44c8-408e-b1ff-37c545a8c185, Revision: 2]   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
Script Execution failed with 1. Please check that execution policy for power shell scripts is set to bypass in Client Agent Settings   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
CScriptHandler::DiscoverApp failed (0x87d00327).   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
Deployment type detection failed with error 0x87d00327.   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)
Failed to perform detection of app deployment type 7-Zip 22.01 (MSI-x64)(7-Zip 22.01 (MSI-x64), revision 2) for system. Error 0x87d00327   AppDiscovery   18.01.2023 10:14:57   3476 (0x0D94)