-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az bot directline create doesn't allow multiple sites #23793
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botBot ServicesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botBot ServicesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Related command
Describe the bug
The azure cli create option for directline channel (az bot directline create ) just allow one site. In the web portal several can be added and the response object from the az bot directline show is even an array.
Running the command multiple times override the previous one.
The code just take one site as parameter
azure-cli/src/azure-cli/azure/cli/command_modules/botservice/channel_operations.py
Line 123 in a896091
To Reproduce
Expected behavior
Environment Summary
Several sites can be used as command parameter:
Or
Additional context
Raised in old repository microsoft/botbuilder-tools#1404