Giter Club home page Giter Club logo

microsoft-teams-apps-faqplus's Introduction

page_type languages products description urlFragment
sample
csharp
office-teams
FAQ Plus bot is one of the best friendly Q&A bots that bring a human in the loop when it is unable to help with an answer from the knowledge base.
microsoft-teams-apps-faqplus

Note

Beginning 1st October, 2022, you won’t be able to create new QnA Maker resources or knowledge bases. All existing QnA Maker service will be supported till 31st of March, 2025.

A newer version of the custom question and answering capability is now available as part of Azure Cognitive Service for Language. The newly released version 5.0 of FAQ Plus is using question answering within the Language Service.

FAQ Plus App Template

Documentation Deployment guide Architecture

Chatbots on Microsoft Teams are an easy way to provide answers to frequently asked questions by users. However, most chatbots fail to engage with users in a meaningful way because there is no human in the loop when the chatbot fails to answer a question well.

FAQ Plus bot is a friendly Q&A bot that brings a human in the loop when it is unable to help. A user can ask the bot a question and the bot responds with an answer if it's in the knowledge base. If not, the bot offers the user an option to "Ask an expert", which posts the question to a pre-configured team of experts to provide support. An expert can assign the question to themself, chat with the user to gain more context and add the question to the knowledge base from using a messaging extention so that the next user to ask that same question will get an answer from the chatbot!

The December 2022 (version 5) release of FAQ Plus includes Question Answering, an Azure Cognitive Service for Language feature. Question answering provides cloud-based Natural Language Processing (NLP) that allows you to create a natural conversational layer over your data. It is used to find the most appropriate answer for any input from your custom knowledge base (KB) of information. Build a knowledge base by adding unstructured documents or extracting questions and answers from your semi-structured content, including FAQ, manuals, and documents. Get the best answers from the questions and answers in your knowledge base—automatically. Question Answering supports a multi-turn feature to the end user experience. With the multi-turn feature, users will be presented with follow-up options along with an answer to their question. This enables the FAQ Plus bot to answer the user's question with more relevance. Multi-turn follow-up options are programmed directly into the Question Answering when the tenant admin uploads the Q&A pairs into the knowledge base. The latest (version 5) release of FAQ Plus separates the end-user and the sme bot. With splitting the bot and having different bot registrations, users can now setup different permission policies for these two bots.


FAQ Plus provides features to the expert team such as:

  • Adding/editing/deleting/previewing QnA
  • Viewing update history of QnA
  • View all the existing QnA
  • View the original version of the edited QnA
  • View details of manually added QnA

Here are some screenshots showing FAQ Plus in action:

  • A user interacting with FAQ Plus through chat:

FAQ Plus in action (user view)

  • Expert using FAQ Plus:

FAQ Plus in action (experts view)

  • Expert invoking the task module to add QnA pair:

Invoking_taskmodule1

More screenshots and tips on how to use the app are in the Wiki of this repository.

Legal Notice

This app template is provided under the MIT License terms. In addition to these terms, by using this app template you agree to the following:

  • You, not Microsoft, will license the use of your app to users or organization.

  • This app template is not intended to substitute your own regulatory due diligence or make you or your app compliant with respect to any applicable regulations, including but not limited to privacy, healthcare, employment, or financial regulations.

  • You are responsible for complying with all applicable privacy and security regulations including those related to use, collection and handling of any personal data by your app. This includes complying with all internal privacy and security policies of your organization if your app is developed to be sideloaded internally within your organization. Where applicable, you may be responsible for data related incidents or data subject requests for data collected through your app.

  • Any trademarks or registered trademarks of Microsoft in the United States and/or other countries and logos included in this repository are the property of Microsoft, and the license for this project does not grant you rights to use any Microsoft names, logos or trademarks outside of this repository. Microsoft’s general trademark guidelines can be found here.

  • If the app template enables access to any Microsoft Internet-based services (e.g., Office365), use of those services will be subject to the separately-provided terms of use. In such cases, Microsoft may collect telemetry data related to app template usage and operation. Use and handling of telemetry data will be performed in accordance with such terms of use.

  • Use of this template does not guarantee acceptance of your app to the Teams app store. To make this app available in the Teams app store, you will have to comply with the submission and validation process, and all associated requirements such as including your own privacy statement and terms of use for your app.

Getting Started

Begin with the Solution overview to read about what the app does and how it works.

When you're ready to try out FAQ Plus, or to use it in your own organization, you can choose to follow one of the below guides.

  • Deployment guide powershell.
    • Recommended Use this option to deploy the FAQ Plus v5.0 using powershell script. The entire set-up is done by the powershell script.
  • Deployment guide.
    • Use this option to deploy the FAQ+ v5.0 manually.

Migration

If you already have older version of FAQ Plus installed, then please use this migration guide. Please note that deploying the major version update, like FAQ Plus version 5.0 involves more than syncing the App Service and Azure Functions, so plan to review the migration guide before migrating to latest.

Feedback

Thoughts? Questions? Ideas? Share them with us here!

Please report bugs and other code issues here.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

microsoft-teams-apps-faqplus's People

Contributors

abbodh avatar adityachallapally avatar aosolis avatar dependabot[bot] avatar ktcodebite avatar microsoft-github-operations[bot] avatar microsoftopensource avatar mikhail2k15 avatar porkai-pandian avatar shsarda avatar tsujonathan avatar v-royavinash avatar v-smahaj avatar vishnu-msft avatar yashrajmungale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microsoft-teams-apps-faqplus's Issues

Not able to complete STEP 5 / Finish configuring the FAQ Plus app

For the step : Go to the configuration app, which is at https://[BaseResourceName].azurewebsites.net/configuration. When using the configured "BaseResourceName" as per the URL above it send message the URL not found. I am able to access the URL https://[BaseResourceName].azurewebsites.net ( with my defined BaseResourceName") but not when I add configuration at the end. Step 1 to Step 4 have been completed successfully.

Using attached instructions.
https://github.com/OfficeDev/microsoft-teams-apps-faqplus/wiki/Deployment-Guide

Any advise here.

Thanks in advance
Image 1.pdf
Image 2.pdf

Ask an Expert returns Unable to reach app. Please try again.

I have deployed the FAQ Plus app to Teams (I named it Ask SAM) and it seems to work fairly well. But when I click "Ask an Expert" and fill out the form, I get the error below. After triggering the error a handful of times, the bot now doesn't respond at all in Teams. No responses to any messages. Here are the things I have checked:

  • On Config page, I confirmed that Team ID is set properly (I obtained value from going to Experts team and copying link to team)
  • I am a member of the Experts team though I assume that shouldn't matter since the goal of this feature is to allow anyone to send a message to an Expert

image

One additional question - default Teams settings pops up a Card notification for the user for each response from the bot (see screenshot below). These even appear if the user is sitting there using the bot - seems confusing as typically pop-up notifications are intended to appear when you are not already actively interacting with Teams. How can we disable these at the bot level?

image

Upgrade steps from V2 to V3

@abbodh looks like I deployed V2 , so now I need to go through the upgrade steps to V3. Am I am able to update FAQPlus Bot service remotely and then redeploy?

Today I freshly cloned the repo and I notice the sample manifests still refer to V2

`
  },
  "name": {
    "short": "FAQ Plus [V2]"
  },

`

Not able to deploy faqplus-experts.zip

Hi,

So I have been able to deploy the faqplus-enduser.zip bot. But when I try to add the faqplus-experts.zip to the correct Team, I get an error message saying "Something went wrong" (ref image).
image

What I have tried so far is to:

  • Recreate .zip file
  • Download new manifest.json file
  • Recreate manfiest.json file with Microsoft's template

Here is my .zip file with manifest, color and outline:
faqplus-experts.zip

Any ideas?

Bot is not working in Team App after successfull installation

Hi,
I did every steps according to the document. I made two manifest with following the deployment documentation. Finally I have installed (custom install) in my Teams. It installed successfully also.
I got okay the TeamId, Knowlege-Based-Id from my config api. https://ibb.co/gvwqCTn I can send the message to bot and I can see the message is also sending. But I can't get any response from Bot.
I have attaced the final output you can see in the attachment here. https://ibb.co/vw7vGFq

Can you please suggest me where can be the problem

Error 501 on Experts Functions

I'm receiving an error 501 when trying to access the experts functions on the bar or on the Teams Experts group, and an unknow error when sending messages to the bot itself. I can't receive any type of response.

My scenario below: The deployment of the Faq Plus has been made in one Tenant and the application is running on a Teams in another Tenant (Multi-Tenant selection has been selected on App Registration). And on the Configuration Page everything has been inputted correctly.

Bot does not respond in Azure>Bot>Test in Web Chat

I have followed all deployment steps and have also created my QnA KB. When I access the Config page via https://mybotname-config.azurewebsites.net, the Config page loads and I have input my Teams ID, KB ID and messages. KB is published and the publish screen confirms the proper name of the QnA Service.

However, when I go to Azure and navigate to the Web Bot and click Test in Web Chat, the bot does not respond at all. I have redone the steps multiple times and no matter what, the bot never responds. It works find directly on the QnA site but not within the bot. I have confirmed that the KB ID is correct. What can I check to get this resolved?

A few observations:

Also I noticed that one of the pre-reqs was to have a local copy of the code downloaded but none of the steps prompt me to do anything with that code. Is a step missing or am I misreading it?

image

image

Response Cards - Issue with Images and Multi-turn

Hi!

I am facing this scenario with Response cards, as I am new to QnA / Chatbots I don't know if it's meant to be intentional or it's a bug. I tried looking up in the Wiki but I could find anything in detail.

Scenario:
I have a question in the QnA KB with text and an image defined in the body. It has 4 follow-up prompts.

Results:
If I create a question manually or via the Expert App, these are created having the JSON tags. Something similar to an example shown below with one follow-up prompt.
image

The images and text are properly formatted. However, the multi-turn options are not displayed within the response card.
image

If I remove the JSON tags from the same question above and edit it using the rich text editor, the multi-turn options are properly displayed for the same question. But the Response Card is formatted differently now. And the image is not properly displayed in the response card. It appears as a link in MS Teams. The image is correctly displayed whilst testing the bot in the Web App.
image

I am not sure if this is a bug or intentional. Awaiting additional clarification or feedback.

Stuck on Step 5 - Config URL will display expected form

I have followed all steps carefully and have created my service in Azure and also created my Knowledge Base. When I get to Step 5 and navigate to https://botname-config.azurewebsites.net/ I get the screen below. It does not prompt me to authenticate and does not show the form that I need to fill out. I did not receive any errors during any of the previous steps. Other observations:

  • When I test the KB from within https://www.qnamaker.ai/, it works as expected
  • When I access the Web App Bot in Azure and click "Test in Web Chat", it does not work. No messages are returned when I type in trigger phrases
  • When I navigate to https://botname.azurewebsites.net/, I get the 2nd screenshot below. I do not understand what I am missing. I do not think I am supposed to be manually configuring anything though the pages I am seeing are showing that some configuration is missing
  • Bot Client ID, Bot Client Secret, Config App Client ID, Tenant ID are all confirmed correct (no extra spaces/characters) - these were entered in Step 2

image

image

Couldn't access the experts app tabs - Recent, Unassigned, and Assigned

Hi I got the following error when trying to access the expert app tab tabs - recent, unassigned and assigned - it gave me the following message "Unable to reach app. Please try again."
i had a look at the Application Insight and found a lot of error related to the following

Failed to handle the messaging extension command composeExtension/query: An index with the name 'tickets-index' in service 'q4behcgfscauu-search' could not be created. Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.

FAQExpertsError

Can't Access Bot without Permissions to both End-User and Expert App

Bot will only reply when User has permissions for both apps, with the End User Bot installed to their Teams. In this situation, it shows that the Expert Bot is the one actually replying. Are their suggestible changes to the App Manifests to make to avoid this issue? Since both Manifests are pointing to the same Bot Registration, is this easily avoidable?

Screen Shot 2020-07-06 at 7 58 34 AM

Thank you.

FAQPlus tips for reducing the subscription costs whilst developing and testing.

If anyone has sucessfully deploy the FAQPlus bot esp. in the UK, I wonder what sort of accumlating costs you are now seeing . hopefully not looking like a the costs of associated with a gambling or drug addiction 🤨! If not I am keen to explore what you have configured in terms of managing the costs.

FAQPlus costs

I have started looking at the offending services

  • FAQApp Service: I am currently using the S1 service plan as I cannot use the F1 ( free ) or any of the target compute plans because of the "Always on" service . Is there a way to get around this such write a script to disable / reenable unitl needed?

  • Search service - Pricing Tier basic : 1 repica, 1 partition ,1 search unit. Again, is there a way to enable / disable until needed?

  • FAQApp Congnative Servies : F0 Free

App Service wont sync to get app code.

Once the deployment is complete the app service for the bot wont sync up with the repo to download app code.

Source : External Git
Repo : https://github.com/OfficeDev/microsoft-teams-apps-faqplusv2.git
Error :

Command: deploy.cmd
Handling ASP.NET Core Web Application deployment.
MSBUILD :
error MSB1025: An internal failure occurred while running MSBuild.
System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
Failed exitCode=-532462766, command=dotnet restore "D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.sln"
An error has occurred during web site deployment.
Unhandled exception. System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
Unhandled exception. System.ComponentModel.Win32Exception (5): Access is denied.\r\n at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)\r\n at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)\r\n at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)\r\n at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)\r\nD:\Program Files (x86)\SiteExtensions\Kudu\87.20522.4610\bin\Scripts\starter.cmd deploy.cmd

Null Deference

File Name: MessagingExtensionQnaCard.cs
File Path: C:\user\MS-Teams\microsoft-teams-apps-faqplusv2-master\Source\Microsoft.Teams.Apps.FAQPlusPlus\Cards\MessagingExtensionQnaCard.cs

Vulnerable Parameter: userActions
Vulnerability: @line no 1092: userActions is not checked for null value before being dereferenced

The method UpdateHistory() in MessagingExtensionQnaCard.cs can dereference a null-pointer on line 1092, thereby raising a NullException.

Bot does not respond to user input

After following the deployment guide and sideloading the app, we are unable to get it to respond to regular or expert team users. Azure Insights show some authentication failures, but we've double checked the appid and the app secret and they are correct. Please help!

Track Feedback

Currently the feedback provided by users isn't tracked. Would be great if that information was tracked in the table storage like ticket info, especially when it comes to using the data for analytics (Power BI) purposes.

Err 500 on POST Bot/PostAsync method

I've followed the deployement steps 2 times and I still get this error.
this error is raised in the following context :

  • From the user app, anytime a search query is sent to the QnAMaker (e.g. post a question to the bot)
  • From the expert app, anytime a new question is added (note : the query to search in the KB works from the the message extension of the Expert app)

Looking at Application Insight, the application through an exception on the methods "Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+d__48.MoveNext"

System.InvalidCastException:
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<GetQuestionAnswerReplyAsync>d__48.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 1464)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<OnMessageActivityInPersonalChatAsync>d__36.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 793)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<OnMessageActivityAsync>d__23.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 204)

SharedScreenshot-1

and "lambda_method"

System.InvalidCastException:
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<GetQuestionAnswerReplyAsync>d__48.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 1464)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<OnMessageActivityInPersonalChatAsync>d__36.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 793)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<OnMessageActivityAsync>d__23.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 204)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot+<OnMessageActivityAsync>d__23.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Bots\FaqPlusPlusBot.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 226)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.ActivityHandler+<OnTurnAsync>d__0.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.BotFrameworkAdapter+TenantIdWorkaroundForTeamsMiddleware+<OnTurnAsync>d__0.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.MiddlewareSet+<ReceiveActivityWithStatusAsync>d__3.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.BotAdapter+<RunPipelineAsync>d__18.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.BotAdapter+<RunPipelineAsync>d__18.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.BotFrameworkAdapter+<ProcessActivityAsync>d__33.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.BotFrameworkAdapter+<ProcessActivityAsync>d__32.MoveNext (Microsoft.Bot.Builder, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Bot.Builder.Integration.AspNet.Core.BotFrameworkHttpAdapter+<ProcessAsync>d__7.MoveNext (Microsoft.Bot.Builder.Integration.AspNet.Core, Version=4.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Teams.Apps.FAQPlusPlus.Controllers.BotController+<PostAsync>d__3.MoveNext (Microsoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=nullMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus\Controllers\BotController.csMicrosoft.Teams.Apps.FaqPlusPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: 46)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at lambda_method (Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable+Awaiter.GetResult (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+AwaitableResultExecutor+<Execute>d__0.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Threading.Tasks.ValueTask`1.get_Result (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeActionMethodAsync>d__12.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeNextActionFilterAsync>d__10.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeInnerFilterAsync>d__13.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeNextResourceFilter>d__23.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeFilterPipelineAsync>d__18.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeAsync>d__16.MoveNext (Microsoft.AspNetCore.Mvc.Core, Version=2.1.16.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Builder.RouterMiddleware+<Invoke>d__4.MoveNext (Microsoft.AspNetCore.Routing, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware+<Invoke>d__7.MoveNext (Microsoft.AspNetCore.StaticFiles, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware+<Invoke>d__13.MoveNext (Microsoft.AspNetCore.Server.IISIntegration, Version=2.1.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol+<ProcessRequests>d__188`1.MoveNext (Microsoft.AspNetCore.Server.Kestrel.Core, Version=2.1.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)

SharedScreenshot-2

Unexpected tenant id

After following the deployment procedure for multiple times, I tend to run into the same issue. When trying to send a test message to the FAQ bot (using Azure bot management -> test in webchat) I keep receiving the error message "Unexpected tenant id". I verified the ARM deployment input parameters, and I indeed used the correct tenant ID. That is the Tenant ID under which all resources run. Any idea what could be causing this issue?

Knowledgebase ID is not valid

Hi there,

Working with an organisation to get this deployed and we're getting Knowledgebase ID is not valid on the config site per the image.
kbid-kan

It looks as though the ConfigurationItems table hasn't populated during the deployment.

Using a different QnA Maker

I'm trying to switch to an existing QnA Maker and not use the one provisioned by the template. I changed the QnA settings and also changed the Search configuration in the App Service. Its working fine but the KB is not showing up in the messaging extension in teams.

change the orginal name

If I would like to change the orginal name (FAQ Plus) to another name (If doable), where should I make modifications and what are the required modifications?

Can't get past Step 5 in the setup guide

Followed every step in the guide but https://[BaseResourceName].azurewebsites.net/configuration just leads to a 404. As does
https://[BaseResourceName].azurewebsites.net/signin

Cannot deploy the solution after select azure region other than the default

Hi , when trying to deploy FAQ BOT v2 ( we tried in three different subscriptions ) we are getting this error
MicrosoftTeams-image (3)
( see attached file )

I have attached the deployment details and errors.

"error": {
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
  "details": [
    {
      "code": "Conflict",
      "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\"\r\n  }\r\n}"
    }
  ]
},
"validationLevel": "Template"

}
}

if i select any other azure region it works ok.

Use Task Module

Hi,
Has anyone been successful using the new features of v2, specifically the Task Modules?
How can we access the Task Module from the Expert Channel?
Is there any documentation available for that?

Thanks in advancel

Markdown formatting is not displaying properly in Teams

QnA KBs support rich text in Answers. Rich text is achieved by using Markdown or by using the rich text editor. When I try to use the Markdown below, it works fine when testing via the "Test" button on the QnA site. However when I test in Teams, it is not formatted properly. Please take a look.

Code
[![Video](https://mydomain.sharepoint.com/sites/MyTraining/SiteAssets/ChatImages/WhatIsTeams.png)](https://www.youtube.com/watch?v=OxfukizkyCA) (this is a clickable image which launches a video on Youtube)

This is how it appears in QnA:

image

This is how it behaves in the QnA Test:

image

But this is what it looks like in Teams after being published:

image

Knowledge base & Add new question not working

i've got the following parts not working , knowledge base
image

Create a new question
image

the end-user functionality seems to work as expected only the expert functionality especially these two parts that aren't working... appreciate any insight on how i can troubleshoot this error..thank you!

Issue with Multi-turn options in Teams Android mobile app

Hi!

There seems to an issue with the multi-turn options being displayed in the Android mobile app. Although they are clickable but the icons being used are maximized and the headings do not appear. So its kind of useless for the end users as they are randomly clicking on the options.

It appears fine on the desktop version.

image

How to change the expert channel

We need to edit the Teams ID in the configuration page and install the expert app to this Team, but the app will send message to General channel, Can we change to another channel, so it won't border all the Teams member

Something went wrong. Please try again later.

Hi,

I have deployed the V2 solution. I've followed all the steps in the deployment manual and can't get the bot to return messages.

The error is Something went wrong. Please try again later.

In AppInsights of the bot I get the following error:
Operation returned an invalid status code 'BadGateway'.

Web chat doesn't work either.

image

image

Microsoft.Bot.Schema.ErrorResponseException:
   at Microsoft.Bot.Connector.Conversations + d__10.MoveNext (Microsoft.Bot.Connector, Version = 4.6.3.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e)
   at Microsoft.Bot.Connector.ConversationsExtensions + d__17.MoveNext (Microsoft.Bot.Connector, Version = 4.6.3.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 7cec85d7bea7798e)

Thanks in advance!!!

Is there a way to add a Drop Down to the Adaptive card in Teams?

Our company is looking to use the FAQPlus bot but one aspect they would like is to add a "Topic" Dropdown to the "Ask the Expert" Card..
So that when a user click "Ask the Expert" besides the current fields, they would like us to add a Topic Dropdown that users would select predefined topics ( SharePoint, Outlook, Network, etc.) before it sends to the Experts.

Any thoughts on how to accomplish that?

Please help! Need extra help: Step 5 from Deployment Guide

Good day, who can help me? I have gone through all the steps from the deployment guide to step 5.1: "Finish configuring the FAQ Plus [Version 2] app". Only when I log in to https://contosofaqplus1-config.azurewebsites.net with preset login details, I get this error : "This user does not have the proper permissions for this action. Please sign in with a valid user credentials." What could be wrong? I have followed exactly all the steps from the tutorial. Also the login details are correct. Please help! I would like to continue with step 5.2 from the deployment guide. :-) I have admin rights in Azure.

The app can't connect with knowledgebase.

Hi,
I have deployed the app in azure with following all instructions. I have created knowledge based, saved, tested, published, got the knowledgebase id.

I have got OK from TeamId, got OK from knowledge base id. https://ibb.co/NW15hqx Then I have installed the app in the selected Teams that I have got OK signal from config app. look the screenshot for ok message https://ibb.co/JQkzBZP

I can see the app is responding for Welcome message, Take a tour.
But if I give any "Hi/Hello/anything" the bot is responding "Something went wrong. Please try again later"

Please look the error https://ibb.co/n7gzM5z

Not getting any replies both on Teams and Web Bot App

Hi,

Completed all the steps of the deployment guide and tried it 2 times without errors. I'm not getting any replies from the chat bot - both from Teams and the Test Web Chat on the Web Bot App Service. I've checked application insights and I'm just seeing a few 404 errors due to OPTIONS /api/message. Any tips on troubleshooting this issue. QnA Maker Cognitive Service works fine. I also tried connecting a basic QnA bot from the samples and it worked fine.

Can you integrate/expose the FAQ Plus Bot with SharePoint Online?

The FAQ Plus bot is fantastic and is working really well within Microsoft Teams.

We are currently looking to see if the same functionality could be exposed from within SharePoint, possibly using an SPFx web part or simply code embed technique (such as this: https://sharepointlessons.wordpress.com/2018/05/15/integrating-faq-bots-with-sharepoint/).

If I try and test the bot using the 'Test in Web Chat' feature within the Azure Portal I don't receive any response back at all, so unfortunately I can't use this embed method currently.

Has anyone done this previously and if so would you mind sharing the steps you took?

Kind regards
Pete

Looking to remove the "Ask an Expert" option

Currently tasked to remove the "Ask an Expert" option from the FAQ bot as we already a system in place for questions related to Teams. However, the feedback option is still valuable. How would we remove the button for our users?

No login-prompt in step 5

First of all, thanks for the very good deployment guide. It's really easy to understand.

I'm at the moment trying to deploy this FAQ-plus bot within my organiazation. I've got a problem in the deployment guide at step 5, where we should be able to finish the configuration app. When I go to the redirected URL at https://[BaseResourceName]-configuration.azure.net there is no prompt to login. As you can see in the picture below, the url is just just a normal web-app page.
Web app

I've done the deployment guide multiple times within different resourcegroups and with different KB in QnAmaker. Every time I get to step 5, where I can't go further due to no login prompt.

As a global administrator, I've also tried to grant admin consent in the API permissions within the configuration app as I saw that proposed in another troubleshoot. That didnt help either.

I can't figure out where I've done something wrong. Hopefully one of you guys can help :-)

Best regards

Link to the deployment template in the deployment guide seems to be wrong

The link to the deployment template in the deployment guide seems to be wrong. It points to: https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FOfficeDev%2Fmicrosoft-teams-faqplusplus-app%2Fmaster%2FDeployment%2Fazuredeploy.json
This is the same location as the deployment script from the depreciated version

It also seems that it wants to load the git of the deprecated version (see screenshot).
image

Sign in to configuration app with personal Microsoft account

I am trying to use FAQ Plus with a personal Microsoft account (@hotmail.com). I have been able to finish the first 4 steps in the Deployment guide. In step 5, I need to login to the configuration app, but no matter what I tried, the app showed "This user does not have the proper permissions for this action. Please sign in with a valid user credentials.".

I took a look at the source code and I could see that the app gets the 'upn' value from the id_token and compare it with the configured "ValidUpns". However, the id_token that I got when logging in with a personal Microsoft account doesn't have the 'upn' value. The payload of the token looks something like this:

{
  "aud": "xxx",
  "iss": "xxx",
  "iat": xxx,
  "nbf": xxx,
  "exp": xxx,
  "aio": "xxx",
  "amr": [
    "pwd"
  ],
  "c_hash": "xxx",
  "email": "[email protected]",
  "family_name": "xx",
  "given_name": "xxx",
  "idp": "live.com",
  "ipaddr": "xxx",
  "name": "xxx",
  "nonce": "xxx",
  "oid": "xxx",
  "sub": "xxx",
  "tid": "xxx",
  "unique_name": "live.com#[email protected]",
  "uti": "xxx",
  "ver": "1.0"
}

no response from bot(test in web chat ) though have completed all step successfuly

-I have checked and tested my knowledgebase is working fine on https://www.qnamaker.ai

  • I have completed successfully step 5 and all other step also.
  • have sync the configuration app service also and it deployed successfully again ,I have checked the log

Command: deploy.cmd
Handling .NET Web Application deployment.
Using Msbuild from 'D:\Program Files (x86)\MSBuild-15.9.21.664\MSBuild\MSBuild\15.0\Bin'.
All packages listed in packages.config are already installed.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.Common\obj\project.assets.json
Restore completed in 369.77 ms for D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.Common\Microsoft.Teams.Apps.FAQPlusPlus.Common.csproj.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.AzureFunction\obj\project.assets.json
Restore completed in 424.7 ms for D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.AzureFunction\Microsoft.Teams.Apps.FAQPlusPlus.AzureFunction.csproj.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus\obj\project.assets.json
Restore completed in 362.21 ms for D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus\Microsoft.Teams.Apps.FAQPlusPlus.csproj.

NuGet Config files used:
C:\DWASFiles\Sites#1rbeibot-config\AppData\NuGet\NuGet.Config

Feeds used:
https://api.nuget.org/v3/index.json

Restore operation started...
Restoring library [email protected]...
Restoring library [email protected]...
Restoring library [email protected]...
Restoring library [email protected]...
Restoring library [email protected]...
Restoring library [email protected]...

6 libraries restored in 5.62 seconds

CSC : warning SA0001: XML comment analysis is disabled due to project configuration [D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.Common\Microsoft.Teams.Apps.FAQPlusPlus.Common.csproj]
Microsoft.Teams.Apps.FAQPlusPlus.Common -> D:\home\site\repository\Source\Microsoft.Teams.Apps.FAQPlusPlus.Common\bin\Release\netstandard2.0\Microsoft.Teams.Apps.FAQPlusPlus.Common.dll
CSC : warning SA0001: XML comment analysis is disabled due to project configuration [D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus.Configuration\Microsoft.Teams.Apps.FaqPlusPlus.Configuration.csproj]
Microsoft.Teams.Apps.FaqPlusPlus.Configuration -> D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus.Configuration\bin\Microsoft.Teams.Apps.FAQPlusPlus.Configuration.dll
Microsoft.ApplicationInsights.Web: Copying ApplicationInsights.config to bin
Transformed Web.config using D:\home\site\repository\Source\Microsoft.Teams.Apps.FaqPlusPlus.Configuration\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.
Copying all files to temporary location below for package/publish:
D:\local\Temp\8d838fc27d9210e.
Creating app_offline.htm
KuduSync.NET from: 'D:\local\Temp\8d838fc27d9210e' to: 'D:\home\site\wwwroot'
Copying file: 'bin\Microsoft.Teams.Apps.FAQPlusPlus.Common.dll'
Copying file: 'bin\Microsoft.Teams.Apps.FAQPlusPlus.Common.pdb'
Copying file: 'bin\Microsoft.Teams.Apps.FAQPlusPlus.Configuration.dll'
Copying file: 'bin\Microsoft.Teams.Apps.FAQPlusPlus.Configuration.pdb'
Deleting app_offline.htm
Finished successfully.

-But while testing my bot in web chat I am not getting any response .

-When I open https://mybotname.azurewebsites.net/ it says your bot is ready.
-Even my messaging endpoint is not up.as it is giving
HTTP 404 error
That’s odd... Microsoft Edge can’t find this page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.