0
votes

From Azure portal,I have deleted App Services, webapp bot, etc respective of the resource group.(Main agenda as cleaning Unnecessary files from portal). There is no App service respective of the KB.

Now, I am unable to delete Knowledge-base from QnA maker. while deleting the KB,I am getting the bellow error. please guide me how to delete the KB enter image description here

1

1 Answers

0
votes

Creating QnA service creates the following resources

  1. App Service Plan
  2. App Service
  3. Search Service
  4. Cognitive Services
  5. Application Insights

If you delete all the above resources, your related Knowledge-base should be deleted automatically.

Most probably, you had your KB opened in the browser before deleting your resources. So, when you hit "Delete" now after resources were removed, the QnA Maker cannot find the back-end services.

Accordingly, if you refresh your browser you will not find your KB

Update

To clarify how to recognize resources related to your knowledge base, let's assume your knowledge base deployment host is https://qnaappservice1.azurewebsites.net/qnamaker, this means the following

  • The associated AppService name is qnaappservice1
  • The associated SearchService name is qnaappservice1-[Random postfix] like aspvv5ocgc7gucy.

The remaining resources will be named based on you QnA Service. For example, if your QnA Service is named qnaservice1, your remaining resources will be as follows:

  • App Service Plan will be qnaservice1
  • Cognitive Service will be qnaservice1
  • Application Insights will be qnaservice1-ai