New Message in Office365 shows session expired

I set up an office365 account and I am properly logged into the account. I can read emails and I can send emails but every time when I create new message I am getting following popup. When I click on sign out I am still able to write and send the email.

10-09-2018--9-25-18-Snap