Unprotect PDF
Description
You can unprotect your PDF file.
Input Arguments
Input Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
File | File in PDF format. | The file which shall be unprotected. Must be an actual PDF file – Base64 string or plain text is not supported. | ✔️ | ❌ | - |
Owner Password | String | Password set by the PDF owner to restrict actions like editing or printing. | ❌ | ❌ | - |
Remove Permissions | Boolean | Remove all access permissions. | ❌ | ✔️ | Yes |
Output
Response | Type | Description |
---|---|---|
PDF response | File | The unprotected PDF file as a downloadable object. |
File response as string | String | The binary PDF file encoded as a string. Useful for storing in variables, Dataverse, or passing to other actions. |
MIME type | String | The MIME type of the PDF (typically ++application/pdf**). |
Extension | String | The file extension of the output, usually pdf. |
Power Automate Examples
Unprotect PDF
We use the "Get file content using path" action to retrieve a PDF file from our OneDrive as input, unprotect it via our action by entering the password in the Owner Password field, and then use the OneDrive "Create file" action to save the unprotected version.
There are no options available in this action.
💡
Looking for the response to this example? Scroll up to see the Output tab.
Known Limitations
⚠️
If you experienced other limitations please get in touch with us!