Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,24 @@ Today I was working on an Azure project where the deployment of Azure resources

## Problem

You'll see the following error message: `ERROR: New-AzureRmResourceGroupDeployment : 7:27:39 AM - Resource Microsoft.Compute/virtualMachines/extensions` `'test01/dscExtension' failed with message '{` `"status": "Failed",` `"error": {` `"code": "ResourceDeploymentFailure",` `"message": "The resource operation completed with terminal provisioning state 'Failed'.",` `"details": [` `{` `"code": "VMExtensionProvisioningError",` `"message": "VM has reported a failure when processing extension 'dscExtension'.
You'll see the following error message:

Error message: \"The DSC``Extension failed to execute: **Cannot process argument transformation on parameter 'ConfigurationFunction'**.

Cannot`convert value to type System.String..\r\nMore information about the failure can be found in the logs located under`'C:\\WindowsAzure\\Logs\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0' on the VM.\"."`}`]`}`}'`
```text
ERROR: New-AzureRmResourceGroupDeployment : 7:27:39 AM - Resource Microsoft.Compute/virtualMachines/extensions
'test01/dscExtension' failed with message '{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'dscExtension'. Error message: \"The DSC Extension failed to execute: Cannot process argument transformation on parameter 'ConfigurationFunction'. Cannot convert value to type System.String..\r\nMore information about the failure can be found in the logs located under 'C:\\WindowsAzure\\Logs\\Plugins\\Microsoft.Powershell.DSC\\2.19.0.0' on the VM.\"."
}
]
}
}'
```

## Solution

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,20 @@ Multicast during an SCCM 2012 R2 SP1 (1511 release) Task Sequence fails with err

### SMSTS.log file contents

`CLibSMSMessageWinHttpTransport::Send: URL: SCCM01.CORP.DOMAIN.COM:443 CCM_POST /SMS_MCS_AltAuth/.sms_mcs?op=keyinfo ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)` `In SSL, but with no client cert ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)` `Request was successful.

ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`pNext != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,2054) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`reply has no message header marker ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,10358) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`oMcsRequest.GetMCSKey(mcsKeyInfoResponse), HRESULT=80004005 (e:\nts_sccm_release\sms\server\mcs\consumer\mcsisapiclient.cpp,429) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`Failed to get MCS key (Code 0x80004005) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`ClientRequestToMCS::DoRequest failed. error = (0x80004005).

ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)``Request to MCS 'SCCM01.CORP.DOMAIN.COM' failed with error (Code 0x80004005).

ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)``Multicast OpenSessionRequest failed (0x80004005).

ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)``Sending status message: SMS_OSDeployment_PackageDownloadMulticastStatusFail ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)`
```text
CLibSMSMessageWinHttpTransport::Send: URL: SCCM01.CORP.DOMAIN.COM:443 CCM_POST /SMS_MCS_AltAuth/.sms_mcs?op=keyinfo ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
In SSL, but with no client cert ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
Request was successful. ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
pNext != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,2054) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
reply has no message header marker ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,10358) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
oMcsRequest.GetMCSKey(mcsKeyInfoResponse), HRESULT=80004005 (e:\nts_sccm_release\sms\server\mcs\consumer\mcsisapiclient.cpp,429) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
Failed to get MCS key (Code 0x80004005) ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
ClientRequestToMCS::DoRequest failed. error = (0x80004005). ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
Request to MCS 'SCCM01.CORP.DOMAIN.COM' failed with error (Code 0x80004005). ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
Multicast OpenSessionRequest failed (0x80004005). ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
Sending status message: SMS_OSDeployment_PackageDownloadMulticastStatusFail ApplyOperatingSystem 15-4-2016 9:02:57 656 (0x0290)
```

### Solution

Expand Down
Loading