Skip to main content
Participant
June 1, 2021
Question

Microsoft Power Automate | Acrobat OCR fails when reading a secured .pdf

  • June 1, 2021
  • 1 reply
  • 901 views

I am attempting to create a workflow whereby all invoices have OCR run on them prior to saving them in a SharePoint document library. The OCR stage fails in Microsoft Power Automate if the .pdf document is (SECURED). Has anyone found a fix for reading the documents, or how could I identify the (SECURED) .pdf then the OCR stage in the (MPA) flow could be skipped? Normal .pdf documents are processed and saved as expected.

Any help would be appreciated; thanks in advance.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 1, 2021

You can't edit a secured file. You have to remove the security policy first, assuming you know the password. If you don't Adobe won't let you edit it, per the decision of the file's author.

Participant
June 1, 2021

I understand the secured file element, I will assume there is no method to OCR a (SECURED) .pdf using Adobe Documents Services  (link).

Is there a way to identify a (SECURED) .pdf using Adobe document Services in a Microsoft Power Automate flow, then a Yes/No condition could be used to skip the OCR stage in the flow?