This document describes SAML SSO integration with Office 365 acting as the service provider.
ComponentSpace SAML for ASP.NET Office 365 Integration Guide [PDF]