MSEndpointMgr / ConfigMgr

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

Invoke-CMApplyDriverPackage.ps1 : Error: 00000004 #192

Closed MTrab closed 4 years ago

MTrab commented 4 years ago

Trying to get Modern Driver Management up and running, but during tests I always get error 00000004

Not much in logs, other than it says it found 0 packages on the webservice.

Log is at https://pastebin.com/rXDwqMcY

MTrab commented 4 years ago

Sending this to the endpoint:

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCMOSImageForTaskSequence xmlns="http://www.scconfigmgr.com">
      <secret>MY_SECRET</secret>
      <tsPackageId>SKB0034A</tsPackageId>
    </GetCMOSImageForTaskSequence>
  </soap12:Body>
</soap12:Envelope>

Returns:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <GetCMOSImageForTaskSequenceResponse xmlns="http://www.scconfigmgr.com">
      <GetCMOSImageForTaskSequenceResult />
    </GetCMOSImageForTaskSequenceResponse>
  </soap:Body>
</soap:Envelope>

That seems a bit odd to me - is something missing in the installation/configuration of the webservice?

MTrab commented 4 years ago

Note to self: Remember to grant webservice user access til SCCM - problem solved :)