MSEndpointMgr / ConfigMgr

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

GetCMOSImageForTaskSequence Error #156

Closed BlairKingsley closed 4 years ago

BlairKingsley commented 5 years ago

I have discovered that the web service method GetCMOSImageForTaskSequence fails if you use the option Apply operating system from an original installation source in a task sequence under the Apply Operating System action. Error from web service is Object reference not set to an instance of an object. If you use the option Apply operating system from a captured image it works okay. Deployment type is BareMetal. Invoke-CMApplyDriverPackage version 2.1.2. Web Service version 1.6.0.

BlairKingsley commented 5 years ago

TSOption

BlairKingsley commented 5 years ago

Current workaround is to have a disabled action which uses the Apply operating system from a captured image option with a matching OS version.

BlairKingsley commented 5 years ago

Issue breaks Invoke-CMApplyDriverPackage.ps1 process. As when the web service call fails the script exits with error code 3.

capnjax21 commented 4 years ago

I am having the same issue. Running WebService 1.8 - ConfigMgr 1806