Ha, I've built my stuff several years ago so things might have been different then. I'll have to look at it again (but y'know, no need to touch stuff that keeps working...)
Edit: or it might be that our mail is in 365 but the AD is still partially on premises...