microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

PublicSamples/EchoBot: deployment fails

Open
#724 1 comment 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

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

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 the EchoBot README.md deployment instructions and the referenced DSC-BotServers.ps1 lines 805-806, then inspect DscExtensionHandlerSettingManager.psm1 and the PowerShell 7.4.1 environment. Done means the deployment can resolve Get-DscExtensionHandlerSettings and proceed without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.