How to receive meeting invitations from Office365, so that they can be parsed and added to a calendar?
The link that SEoF provided was a great suggestion. The blog post is incomplete, in my opinion, but it did get me started on the right track. I did some more digging and came up with a complete list of steps for getting Office 365 to send me meeting invites in iCalendar (.ics) format.
Note that I'm not an administrator and I didn't need to contact anyone to give me any privileges. The only caveat is that you need access to a Windows box. Once you change the settings via Windows, you can go back to using whatever OS you were using before. I did the following on my own as a normal user using Windows 7:
- Download and install Microsoft .NET Framework 4.5 from http://www.microsoft.com/en-us/download/details.aspx?id=30653.
- Download and install Windows Management Framework 4.0 (Windows6.1-KB2819745-x64-MultiPkg.msu) from http://www.microsoft.com/en-us/download/details.aspx?id=40855.
- Run PowerShell as an administrator.
- Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
- $UserCredential = Get-Credential
- Enter your email address and password.
- $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
- $ImportResults = Import-PSSession $Session
- Get-CASMailbox -identity [email protected] | Format-List
- Set-CASMailbox -identity [email protected] -PopUseProtocolDefaults:$FALSE -ImapUseProtocolDefaults:$FALSE -PopForceICalForCalendarRetrievalOption:$TRUE -ImapForceICalForCalendarRetrievalOption:$TRUE
- Remove-PSSession $Session
- Set-ExecutionPolicy -ExecutionPolicy Restricted
Now, my mutt on Linux is retrieving meeting invitations in iCalendar (.ics) format.
You can set it so Office 365/Outlook sends invitations formatted in iCalendar format via the web interface.
- Login to your Office 365 account
- Open Mail App (Outlook)
- Hit the gear icon in upper right corner (settings)
- In the search box type "imap"
- Select "Pop and IMAP"
- At bottom select "Send event invitations in iCalendar format" for POP and/or IMAP.
- Hit "Save"
You should now get all invitations in the iCalendar format.