QnA maker migration

Singh Sanatya 20 Reputation points
2025-05-14T13:36:52.77+00:00

I have a qnamaker instance in production which needs to be migrated to Custom question answering. the qna maker site is disabled, so how can i download the current knowledge base ?

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
519 questions
0 comments No comments
{count} votes

Accepted answer
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2025-05-14T17:22:35.5133333+00:00

    Hi There Singh Sanatya

    Thanks for using QandA platform

    Since the QnA Maker portal is disabled, you can no longer access your KB there, but you can still download it using the QnA Maker REST APIs if your resource is active. Use the Get Knowledge Base API with your endpoint key and KB ID.

    If your KB was already migrated to Custom Question Answering, go to Language Studio > your project > and export the KB from there.

    If this helps kindly accept the answer thanks much.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. SriLakshmi C 6,010 Reputation points Microsoft External Staff Moderator
    2025-05-14T17:49:12.16+00:00

    Hello @Singh Sanatya,

    Since the QnA Maker portal has been retired and is no longer accessible, you won't be able to download your knowledge base (KB) from the site directly. However, if your QnA Maker instance is still active, you can programmatically extract your KB using the QnA Maker REST API or Azure CLI. For the REST API, use the endpoint:

    GET https://{your-resource-name}.azurewebsites.net/qnamaker/v4.0/knowledgebases/{kb-id}/download?environment=prod&format=tsv
    

    Replace {your-resource-name} and {kb-id} with your actual values, and set the Ocp-Apim-Subscription-Key header with your QnA Maker resource key. You can choose the export format as .tsv, .json, or .qna. Alternatively, if you prefer using Azure CLI, you can run a command like:

    az cognitiveservices qnamaker kb get --name <KnowledgeBase-Name> --resource-group <Resource-Group> --subscription <Subscription-ID> --output <format>
    

    If the REST API or CLI no longer returns results perhaps because the service is disabled in your region your only option is to rebuild the knowledge base using your original content sources (such as documents, FAQs, or URLs) directly in the Custom Question Answering feature of Azure AI Language.

    To migrate, go to Azure AI Language Studio, create a Custom Question Answering project, and upload either the exported KB file or the original content. Ensure your project is configured correctly based on Microsoft’s Migration documentation. Contributor access is required on both your QnA Maker and Azure Language resources to complete the migration.

    Also refer Export knowledge bases - QnA Maker

    I Hope this helps. Do let me know if you have any further queries.


    If this answers your query, please do click Accept Answer and Yes for was this answer helpful.

    Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.