Please refer to the following steps to set up out of office message in Office 365
1. Log in to Office 365 portal with your account https://portal.microsoftonline.com/
2. Click Outlook on the top navigation bar.
3. Click the "gear" icon at the top right of the page, and click options.