Share via

Enabling OCR for JPEG Scan Documents in Copilot Studio Agent

W C H Bagya Perera 5 Reputation points
2025-08-26T05:13:27.5633333+00:00

Dear Team,

Currently using Copilot Studio with the GPT-4 model to build an agent that connects to a SharePoint knowledge base. The knowledge base contains a mix of JPEG scanned documents uploaded by users. However, the agent is currently unable to read or respond to queries based on the content in these JPEG files, as it appears that OCR (Optical Character Recognition) is not enabled or supported by default.

I would like to know:

  1. Is it possible to enable OCR for the Copilot Studio agent (GPT-4) so it can extract and understand text from JPEG scan documents stored in SharePoint?
  2. If yes, what are the recommended steps or configurations to enable OCR support within the agent or its connected SharePoint data source?

Your guidance on how to proceed would be greatly appreciated.

Microsoft Copilot | Other

2 answers

Sort by: Most helpful
  1. Arnaud 0 Reputation points
    2025-12-22T15:55:04.5866667+00:00

    Hi Microsoft team, is it still needed to use an external OCR tool like Poppler? I am also trying to create an agent able to run OCR automatically on some scanned files but it completely fails.

    thanks

    Was this answer helpful?

    0 comments No comments

  2. Sayali-MSFT 5,771 Reputation points Microsoft External Staff Moderator
    2025-08-27T09:15:17.34+00:00

    Hello @W C H Bagya Perera,
    Currently, Copilot Studio (GPT-4) does not natively support OCR (Optical Character Recognition) for extracting text from JPEG or other image files in SharePoint knowledge bases. The agent can only process text-based content by default.
    You must extract text from images using an external OCR process and make that text available to the agent, either as metadata or via a custom extension.

    Reference Document-https://learn.microsoft.com/en-us/ai-builder/prebuilt-text-recognition

    Thanks,  

    Sayali

    *************************************************************************  

    If the response is helpful, please click on "upvote" button. You can share your feedback via Microsoft Copilot Developer Feedback link. Click here to escalate.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.