MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
628 stars 282 forks source link

Error since switching to the new AdminService #308

Closed tcapacci closed 3 years ago

tcapacci commented 3 years ago

Hi,

I have followed the instructions to use the AdminService but I am getting in my TS: Failed to run the last action: Dynamically Apply Drivers. Result 1. Execution of task sequence failed. TSManager 3/6/2021 2:03:40 PM 17856 (0x45C0)

The ApplyDriverPackage.log:

[ApplyDriverPackage]: Apply Driver Package process initiated ApplyDriverPackage 3/6/2021 2:03:35 PM 18868 (0x49B4)

aidbish commented 3 years ago

do you have 17 driver packages, mine seems to have 1 more than i have

otherwise i have the same issue

tcapacci commented 3 years ago

Yes I do have 17 driver packages

But the logs wont show me what the issue is when trying to upgrade a client

aidbish commented 3 years ago

check this post out

https://github.com/MSEndpointMgr/ModernDriverManagement/issues/88 and https://github.com/MSEndpointMgr/ModernDriverManagement/issues/77

i just updated the script and i can now do inplace upgrade

chaosisbliss commented 3 years ago

Do you have PKI setup for your site? I see an error in your logs referring to the cert.

The remote AdminService endpoint certificate is invalid according to the validation procedure. Error message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

tcapacci commented 3 years ago

Thanks @aidbish ! I quoted 20H2 in the script and now it runs fine