microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

PublicSamples/EchoBot: deployment fails

Open ptbdnr opened this issue 1 year ago • 1 comments

I want to deploy PublicSamples/EchoBot exactly as per the README.md: https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/PublicSamples/EchoBot/README.md

However, when the deployment code attempts to execute the following: https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/master/Samples/PublicSamples/EchoBot/ADF/ext-DSC/DSC-BotServers.ps1#L805-L806 that is

Import-Module $psscriptroot\..\..\bin\DscExtensionHandlerSettingManager.psm1
$ConfigurationArguments = Get-DscExtensionHandlerSettings | ForEach-Object ConfigurationArguments

I get the error message: Get-DscExtensionHandlerSettings: The term 'Get-DscExtensionHandlerSettings' is not recognized as a name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

The VM on Azure has

  • Ms Windows 10.0
  • PowerShell version 7.4.1

See screenshot

Note: potential duplicate of https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/552

ptbdnr avatar Apr 29 '24 20:04 ptbdnr

@pbodnar11 If you follow the readme and have the github actions deploy the infrastructure and build the code, you shouldn't need to log into the VM. There is also a link to a video that walks through the deployment in the readme. There are some issues with the deployment that are fixed in #733 PR, but I don't think you ran into those issues.

bcage29 avatar Jun 11 '24 17:06 bcage29