microsoftgraph / microsoft-graph-comms-samples

Microsoft Graph Communications Samples
MIT License
211 stars 236 forks source link

PublicSamples/EchoBot: deployment fails #724

Open ptbdnr opened 6 months ago

ptbdnr commented 6 months ago

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

See screenshot

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

bcage29 commented 5 months ago

@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.