Thursday, October 25, 2012

Office 365 Support for Windows Server 2012

I recently installed an ADFS Server farm on Windows Server 2012 but when I tried to federate to Office365 via the Microsoft Onlien Services Powershell Module it would not work!

The reason for the error is that in ADFS 2012 the cmdlets are surfaced by a module instead of a snapin, and the MSOnline cmdlets are hardcoded to load the old snapin which was available in ADFS 2.0. You can work around this issue by creating your own reference in the registry to the ADFS module as a snapin.

To do so, copy and paste the items below into notepad and save them as a .reg file and then execute.

Windows Registry Editor Version 5.00

"AssemblyName"="Microsoft.IdentityServer.PowerShell, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
"Description"="This powershell snap-in contains cmdlets used to manage Microsoft Identity Server resources."

You can now use Windows Server 2012 for Single Sign on to Office365 :)

Please note :  This solution is not supported by Microsoft. It is my understanding that a new Microsoft online services powershell module will be available for download when the new Office365 is generally available in Q1 of next year.


  1. January 11th 2013,
    Still no fix for this issue. Thanks a lot!

  2. Hi Sean

    Just a general question about ADFS on Windows Server 2012.
    Can ADFS on Windows 2012 co-exist as a member server in a Windows 2003 SP1 domain