Open poiriersimon opened 2 years ago
It seems like your cloud service is not of the correct type, it should be Cloud Service (Classic).
same error when deploying EchoBot. @poiriersimon were you able to solve the issue eventually?
I did do a pull request on the AudioVideoBot, there was some issue with fix value in the code, if I recall correctly.
On Tue, Mar 21, 2023 at 12:30 PM anastasiya-moodbit < @.***> wrote:
same error when deploying EchoBot. @poiriersimon https://github.com/poiriersimon were you able to solve the issue eventually?
— Reply to this email directly, view it on GitHub https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/552#issuecomment-1478176800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKNXIZAY7RFG32Z2LFYBUTW5HJS5ANCNFSM5XLMQNIQ . You are receiving this because you were mentioned.Message ID: @.*** .com>
Describe the issue Trying to run the deploy.ps1 script will failed with following error :08:08 PM - The deployment 'DEPLOYMENTNAME' failed with error(s). Showing 3 out of 4 error(s). Status Message: VM has reported a failure when processing extension 'Microsoft.Powershell.DSC'. | Error message: "DSC Configuration 'BotServers' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality | with error message: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Service 'AVB (AVB)' cannot be started due to the following | error: Cannot start service AVB on computer '.'. The SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually." More information on troubleshooting | is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtensionProvisioningError) Status Message: At least one resource deployment operation failed. Please list deployment | operations for details. Please see https://aka.ms/DeployOperations for usage details. (Code: DeploymentFailed) - { "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 'Microsoft.Powershell.DSC'. Error message: \"DSC Configuration 'BotServers' completed with error(s). Following are the first few: PowerShell DSC resource | MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter | is set to Stop: Service 'AVB (AVB)' cannot be started due to the following error: Cannot start service AVB on computer '.'. The SendConfigurationApply function did not succeed. LCM failed to start | desired state configuration manually.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot " } ] } } (Code:Conflict) Status | Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details. (Code: DeploymentFailed) - { | "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { | "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage | details.", "details": [ { "code": "Conflict", "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n | \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n | \"message\": \"VM has reported a failure when processing extension 'Microsoft.Powershell.DSC'. Error message: \\"DSC Configuration 'BotServers' completed with error(s). Following are the first few: | PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable | \\"ErrorActionPreference\\" or common parameter is set to Stop: Service 'AVB (AVB)' cannot be started due to the following error: Cannot start service AVB on computer '.'. The | SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually.\\"\r\n\r\nMore information on troubleshooting is available at | https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}" } ] } ] } } (Code:Conflict) CorrelationId: 1de951ee-10ea-4aec-b93c-42642d1df6a0
Code Snippet .\deploy.ps1 -OrgName ORGNAME -Location centralus -RunDeployment
Logs :08:08 PM - The deployment 'ACU1-ORGNAME-AVB-D1-AVB' failed with error(s). Showing 3 out of 4 error(s). Status Message: VM has reported a failure when processing extension 'Microsoft.Powershell.DSC'. | Error message: "DSC Configuration 'BotServers' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality | with error message: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Service 'AVB (AVB)' cannot be started due to the following | error: Cannot start service AVB on computer '.'. The SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually." More information on troubleshooting | is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtensionProvisioningError) Status Message: At least one resource deployment operation failed. Please list deployment | operations for details. Please see https://aka.ms/DeployOperations for usage details. (Code: DeploymentFailed) - { "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 'Microsoft.Powershell.DSC'. Error message: \"DSC Configuration 'BotServers' completed with error(s). Following are the first few: PowerShell DSC resource | MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter | is set to Stop: Service 'AVB (AVB)' cannot be started due to the following error: Cannot start service AVB on computer '.'. The SendConfigurationApply function did not succeed. LCM failed to start | desired state configuration manually.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot " } ] } } (Code:Conflict) Status | Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details. (Code: DeploymentFailed) - { | "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { | "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage | details.", "details": [ { "code": "Conflict", "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n | \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n | \"message\": \"VM has reported a failure when processing extension 'Microsoft.Powershell.DSC'. Error message: \\"DSC Configuration 'BotServers' completed with error(s). Following are the first few: | PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable | \\"ErrorActionPreference\\" or common parameter is set to Stop: Service 'AVB (AVB)' cannot be started due to the following error: Cannot start service AVB on computer '.'. The | SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually.\\"\r\n\r\nMore information on troubleshooting is available at | https://aka.ms/VMExtensionDSCWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}" } ] } ] } } (Code:Conflict) CorrelationId: 1de951ee-10ea-4aec-b93c-42642d1df6a0
Additional context Add any other context about the problem here.