Search code examples
azure-cognitive-servicesazure-qna-maker

Any one aware about QNA maker CORS settings?


I want to set Specific domains in Azure Qna maker app cors settings, not *. Can any one let me know what is the required domains for that, as i do not find any documentation regarding this online.


Solution

  • When you create your QnA Maker resource, you are creating an Application (web app) in order to host your endpoint for queries:

    QnA Maker creation

    This is due to the architecture which is the following:

    QnA Architecture

    So if you want to implement specific CORS rules, go the your Web App and set CORS rules in the dedicated tab:

    Cors setup


    Additional edit:

    Based on the comments (thanks @sumit sharma), the necessary domains are:

    • qnamaker-service.trafficmanager.net
    • qnamaker.ai