There appears to be a bug in the Test section of Azure AI Document Intelligence Studio

Ryan Brown 0 Reputation points
2025-04-25T16:29:15.2+00:00

In Document Intelligence Studio I clicked on Custom Extraction models, picked a project and then clicked to Test the project but the model that it was using was from a different project.

Below is a screen shot. In the screenshot I wanted to test the model in in my TrustFiApps project but it loaded the model from the FundworksApps project.

Also, when you click the dropdown to select the correct model, the list is not sorted alphabetically. See second screenshot.

BugInTestingModels


SortAiModels

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,028 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 19,936 Reputation points
    2025-04-29T14:26:33.5566667+00:00

    Hello Ryan Brown,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are having a bug issue in the Test section of Azure AI Document Intelligence Studio.

    To resolve the bug, since models from other projects are incorrectly appearing in the Test view. That might be caused by model fetch API or UI component may be retrieving models from a broader scope (e.g., same resource group or subscription). The first thing you need to do is to:

    1. Review and limit the backend query to fetch only models from the selected project (projectId scoping in backend APIs - https://learn.microsoft.com/en-us/rest/api/documentintelligence/document-models/list
    2. Check that the front-end Test page binds to the correct projectId context.
    3. Implement integration tests to confirm the loaded model matches the selected project context.

    Secondly, you might need to sort the Model Dropdown alphabetically because, unsorted list reduces productivity and increases error risk. You can:

    1. Add alphabetical sorting to the frontend UI rendering function for the dropdown list.
    2. Implement client-side sorting or request the backend to return sorted results - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort

    Finally, the above is to try more. My advice is to contact Priority Customer Support for fast response if you can submit details of the bug. Also, file a bug ticket through GitHub or Azure Support and provide a tracking ID to the customer via Azure Portal.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


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.