
Explanation:

Azure AI Document Intelligence (formerly Form Recognizer) is provisioned as a Cognitive Services account with the kind set to FormRecognizer . In an ARM template, Document Intelligence is created under the resource provider Microsoft.CognitiveServices with the resource type accounts . Therefore:
type must be " Microsoft.CognitiveServices/accounts "
kind must be " FormRecognizer "
This aligns with Microsoft's ARM schema for Cognitive Services accounts and the documented way to deploy Document Intelligence.
Key references from Microsoft documentation:
Azure Resource Manager template reference for Cognitive Services accounts - shows type: Microsoft.
CognitiveServices/accounts and supported kind values including FormRecognizer .
https://learn.microsoft.com/azure/templates/microsoft.cognitiveservices/accounts Azure AI Document Intelligence (Form Recognizer) resource creation guidance - indicates the service is deployed as a Cognitive Services account with kind FormRecognizer .
https://learn.microsoft.com/azure/ai-services/document-intelligence/overview Create Document Intelligence resources (portal/ARM/Bicep) - reiterates Cognitive Services account with FormRecognizer kind.
https://learn.microsoft.com/azure/ai-services/document-intelligence/create-resources