OfficeDev / microsoft-teams-faqplusplus-app

DEPRECATED - This repository contains a deprecated version of the FAQ Plus app template. Please see the README file for more details and a link to the new repository
MIT License
48 stars 49 forks source link

Unable to publish Knowledgebase #79

Closed himsoni85 closed 4 years ago

himsoni85 commented 4 years ago

I was able to deploy the Azure resources using the ARM template and the deployment succeeded without any errors. All resources show up and running as well. When I try to create a new Knowledgebase in the AIMaker portal, I get the error: "No Endpoint keys found".

Error attached. error

himsoni85 commented 4 years ago

I found the fix for the issue (or at least a workaround). If your Resource Group (RG) holding all resources from the template, is in a different location than the one hosting your QnA Cognitive service, then you will face this issue with Keys not being discoverable by the QnA Maker service. For example, in my case I had chosen East US as the location for hosting a dedicated RG for all these resources, but the QnA service endpoint was provisioned in West US. I am not sure why that was the case since all three required services: Application Insights, QnA Maker and Azure Search are available in East US as well. However, as soon as I deleted my RG and created it again in West US region, I was able to create the Knowledgebase without any errors.

oatsoda commented 4 years ago

@himsoni85 I also have the same problem, but ensuring that the Cognitive Service and Resource Group (and App Server) were in the same location did not solve it for me. Are you sure this was the problem?