Hi @SamLed ,
Thanks for your reply
First I had created a blank Excel file name Template1.xlsx and had protected it 'Encrypt with Password', so that whenever I will open it, it will require password to open the file.
Then I had used this Template1.xlsx as a template to create a file named File1.xlsx in Power Automate. The creation of File1.xlsx is successful.
Then in Power Automate I had used create table connectors and add row into table connectors to populate data into File1.xlsx.
When the flow is running it gets failed in the Create table connector with error as shown in screenshot.

I want to create a file with data populated and is password protected so that when I open the file, it asks for password everytime as below:

So can you please help in this regards?