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:
- 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.
- 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.
- 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
- 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. **
- 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.
- 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.