I have created a Word file with a password and uploaded to my Office 365 SharePoint site. When I try to open the uploaded Word file in Word Online it gives an Error message. The file is opening after downloaded to my desktop and asks for password.
Password protected documents cannot be opened within Office Online. You must use the Office client application (Word, Excel, etc.) instead.