Microsoft Power Automate template
Convert an Excel file in SharePoint to PDF and protect with a password
By PDF Blocks
Use this flow to convert an Excel spreadsheet in a SharePoint library into a PDF, encrypt or password protect the PDF file, and then save the encrypted PDF document to Sharepoint. The password protection requires any recipients to enter the password before they can open the PDF document. To start this flow, choose the Excel spreadsheet in your SharePoint library, and enter your preferred password.