Hmm, my school uses office365 for its email, and I've managed to successfully hook it up to offlineimap for my email. I think the only real "special" thing that I had to do was have it use my email address (i.e. user@university.edu) as my username to authenticate with.
The relevant section of my .offlineimaprc (trimmed for brevity, edited for privacy):
[Repository remote]
type = IMAP
remotehost = outlook.office365.com
remoteuser = "user@university.edu"
remoteport = 993