From d90a8dcc57e32baba4a9e5008fc992e5fd03404c Mon Sep 17 00:00:00 2001 From: Jean-Paul van Ravensberg <14926452+DevSecNinja@users.noreply.github.com> Date: Tue, 17 Nov 2026 14:08:09 +0100 Subject: [PATCH] docs: pre-format Markdown for dprint markdown plugin 0.29.0 Reformat the files that dprint's markdown plugin 0.29.0 would change, into a form that passes dprint check with both 0.21.1 and 0.29.0, so the Renovate plugin update from DevSecNinja/.github#561 passes lint. Refs #199 --- ...tion-on-parameter-configurationfunction.md | 21 +++++++++++++---- ...r-failed-to-get-mcs-key-code-0x80004005.md | 23 +++++++++++-------- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/content/posts/azure-automation-cannot-process-argument-transformation-on-parameter-configurationfunction.md b/content/posts/azure-automation-cannot-process-argument-transformation-on-parameter-configurationfunction.md index 9ac9e95..52263c3 100644 --- a/content/posts/azure-automation-cannot-process-argument-transformation-on-parameter-configurationfunction.md +++ b/content/posts/azure-automation-cannot-process-argument-transformation-on-parameter-configurationfunction.md @@ -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 diff --git a/content/posts/sccm-multicast-on-client-fails-with-error-failed-to-get-mcs-key-code-0x80004005.md b/content/posts/sccm-multicast-on-client-fails-with-error-failed-to-get-mcs-key-code-0x80004005.md index 5dfd267..26da9b7 100644 --- a/content/posts/sccm-multicast-on-client-fails-with-error-failed-to-get-mcs-key-code-0x80004005.md +++ b/content/posts/sccm-multicast-on-client-fails-with-error-failed-to-get-mcs-key-code-0x80004005.md @@ -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