I've set up excorporate mode so that I can use emacs to read my outlook calendar. However I am annoyed by having to input a username/password every time I open emacs. I tried a .netrc:
machine outlook.office365.com login firstname.lastname@example.org password 'secret'
But it doesn't work. Can anyone point me further in the right direction?