-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to configure the bot in the Microsoft Teams #12200
Comments
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned. |
hi @tbhaxor, the doc you mentioned is outdated, and "Bots.configuration" is not supported now. I have reported this issue to the related PM team days ago, and I will get back to you ASAP. Sorry for the inconvenience. |
Hi @anchenyi is there any other way to configure bots the same way shown in the documentation? Thing is I am building a bot that requires saving API key and some message preferences. Currently I am using commands (haven't published, tried locally with on my personal team) but that requires sending message to the channel which leaks the API key for all the users. |
hi @tbhaxor, you can try using the Adaptive Card. It allows you to configure the response template of user submissions, so that you can hide all sentitive data. You can refer to this sample project(link) and select the Adaptive Card you need. Let me use one Adaptive Card from this project as an example to help you understand quickly.
|
Is there anyway I could send the message to a particular user in the group/channel? Like in slack |
hi @tbhaxor, for better future reference, could you open a separate GitHub issue to discuss how a group bot can send a message to a specific user? This issue will be used to continue tracking the updates to the bots.configuration section in the manifest. Thank you! |
Adaptive cards approach works for me. |
Describe the bug
I am novice in the MS teams and bot development. I have created the project from the basic bot template and added the configure properties as guided here.
When I try to run the project from the teams toolkit, it fails at
teamsApp/validateManifest
stepAnd this is because of
configuration
key. When I checked the JSON schema, there is no such key available in the object of bots array, but the schema in the documentation mentions otherwise.To Reproduce
Steps to reproduce the behavior:
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: