Unable to view custom model from Azure document intelligence

Raj Tiwari 0 Reputation points
2025-02-26T06:32:00.76+00:00

A custom model was successfully deployed but is no longer appearing in custom models after successful deployment. Any suggesters on why this would happen and how to get this resource back?

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

Accepted answer
  1. Prashanth Veeragoni 640 Reputation points Microsoft Vendor
    2025-02-26T08:41:20.87+00:00

    Hi Raj Tiwari,

    Welcome to Microsoft Q&A forum. Thank you for posting your query.

    If your custom model in Azure Document Intelligence has disappeared but was previously deployed, follow these steps to retrieve it:

    1. First Verify If the Model Still Exists:

    Open Azure Portal and navigate to your Azure AI Document Intelligence resource.

    Go to Model Management and check if your model is listed there.

    If you do not see it, check different subscriptions or resource groups in case you are looking at the wrong one.

    1. Check If the Model Is Still Accessible via API:

    You can list all deployed models using Azure CLI or REST API:

    az cognitiveservices account list --resource-group <your-resource-group>
    

    or

    az cognitiveservices list --resource-group <your-resource-group> --query "[].name"
    

    This helps confirm whether the model still exists but is just not showing up in the UI.

    Via REST API (List Custom Models):

    If the model is missing from the UI but might still exist, try listing it using the REST API:

    GET https://<your-resource-name>.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models
    Ocp-Apim-Subscription-Key: <your-key>
    

    If the API returns your model, but it is not visible in the portal, it may be a UI issue.

    1. Check If the Model Is Linked to the Wrong Resource:

    Azure Document Intelligence allows multiple service instances, each with its own set of models.

    Go to Azure Portal → Cognitive Services and check if you are looking at the correct resource instance.

    If your model was deployed under a different subscription or region, switch your view accordingly.

    This is very important step

    1. Check If the Model Is Deleted:

    If the model was accidentally deleted:

    Check Activity Logs in Azure Portal: Azure Portal → Monitor → Activity Log, Search for any delete operations related to your Document Intelligence resource.

    ** If the model was deleted, Azure does not support restoration unless you had a backup. You would need to retrain the model. **

    1. Check Role-Based Access Control (RBAC) Permissions:

    If you are unable to see the model, but others can:

    Ensure your RBAC role includes "Cognitive Services Custom Vision Contributor" or "Owner".

    Go to Azure Portal → Resource → Access Control (IAM) and check your assigned roles.

    1. Check If You Are Using the Correct API Version:

    Some older models might not appear if you're using an outdated API version.

    Check which API version you are using.

    You can find supported API versions here: https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/whats-new?view=doc-intel-4.0.0&tabs=csharp

    Hope this helps. Do let us know if you any further queries.   

    Thank you.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Raj Tiwari 0 Reputation points
    2025-02-27T19:16:17.2633333+00:00

    An interesting observation, I did see the model reappear when I went through the 'Create A New Project' workflow.

    0 comments No comments

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.