Hello @Aaryan luke mehra , Thanks for using Microsoft Q&A Platform.
As we know, Form Recognizer is now Azure AI Document Intelligence. If you are working with API Version: 2024-11-30
, please use the service name documentintelligence
in the function call. For older API versions, use formrecognizer
.
In your code, after the endpoint, replace formrecognizer
with documentintelligence
. This should resolve the issue.
For example:
POST {endpoint}/documentintelligence/documentModels/{modelId}:analyze?_overload=analyzeDocument&api-version=2024-11-30
Here is the sample code you can refer to: https://zcusa.951200.xyz/en-us/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-v4.0%20(2024-11-30)&preserve-view=true&tabs=HTTP
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer
and vote 'yes
' if you feel helpful to support the community, thanks.