microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Can't deploy AudioVideoPlaybackBot from Template

Open
#552 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with deploy.ps1 and the BotServers DSC configuration referenced in the deployment error, then reproduce the failure using the provided command and inspect the AVB service startup error. Done means the AudioVideoPlaybackBot template deployment completes successfully and the AVB service starts on the VM.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.