http://blogs.technet.com/b/rmilne/archive/2014/04/28/how-to-install-adfs-2012-r2-for-office-365.aspx

(Source: https://twitter.com/ndambrosio/status/460772474960244736)