Deploying Office 365 Single Sign-On using Windows Azure (aka Office 365 Adapter)
Microsoft released a document that is intended for system architects and IT professionals who want to understand the architecture and deployment options for extending the on-premises Active Directory infrastructure with Windows Azure Virtual Machines to implement directory synchronization and single sign-on for Office 365.
Download from Source.