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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Adfs.PowerShell]
“ApplicationBase”=”C:\\Windows\\ADFS”
“Version”=”6.2.9200.0”
“AssemblyName”=”Microsoft.IdentityServer.PowerShell, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”
“Description”=”This powershell snap-in contains cmdlets used to manage Microsoft Identity Server resources.”
“PowerShellVersion”=”1.0”
“ModuleName”=”C:\\Windows\\ADFS\\Microsoft.IdentityServer.PowerShell.dll”
“Vendor”=”Microsoft”

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.

Xp32x Fax Clients connecting to Server 2008R2 Fax Server

When I think of electronic faxing I always think of Microsoft Small Business Server’s built in faxing or Zeta Fax or GFI.

Zeta Fax & GFI Faxmaker work really well and integrate really well into Exchange but can cost a bit as user counts increase.So I had to setup Server2008R2 Fax Server recently which is FREE and heres how I did it.

1.Install the Fax Server Role.
2.Ensure Firewall Rules are correct.
3.Share Fax Printer out to relevant security group or domain\users
4.Add x86 driver to fax printer. Download driver HERE
5.Change the Fax Service “LOGON AS” from NETWORK SERVICE to LOCAL SYSTEM also tick “interact with desktop”

Now here is the bit that got me! When I logged on as an administrator xp x86 client I could connect to the fax server via the the fax console without any problems.But it kept saying connection errors when connecting with a standard user.So i tried adding permissions to the fax printer but that was not correct.

6.Open up Fax Service Manager, Right Click on Fax , Properties, Security add in relevant users , security group.

Error 0x80070003 when running SBS 2003 CEICW

A customers IIS in SBS2003 recently died and everything had to be re-installed as they used RWW all the time and were lost without it.So I went to add/remove programs and selected windows small business server and selected maintenance mode for server tools and then re-install , companyweb,networking & administration.

So when I ran the CEICW wizard it kept failing on firewall config and the error “0x80070003” was listed in the ceicw log.So upon some research on the web I was pointed in the direction of the companyweb identifier in iis.

TheHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SmallBusinessServer\Intranet\companywebpath needs to match the number listed for the Companyweb Identifier in IIS.The default value is 4.And my reg key was correct.

So how do you find out what the identifier value is in IIS? You need to download and install IIS 6.0 Resource Kit and open up meta database explorer.

So within metadatabase explorer which is displayed in the image above expand w3svc and you should see a number of sites.In the problem i was having the companyweb identifier was not there! So I logged onto another SBS Server which was working fine and exported the 4 key. Then re-imported it into IIS.Once it is imported into IIS you need to edit id 1023 as per image to suit that of the current server.

Then do an IIS reset and re-run the CEICW wizard.
Once you have re-ran the wizard browse default website and expand the sites within default website. Right click onthe properties of remote. Then go to documents and add in “default.aspx”

Voila RWW is backup and running.

But what about OWA.

Strangely enough the Exchange and exchange mobile application pools were not present in IIS so as per my above mentioned method I exported these applicatin pools from a healthy server and then edited the exchange sites like OMA , Exchweb to use the correct application pools and all worked fine.

I have not seen anything on the web about how to fix a problem like this, So hopefully this will help people. Sean

Companyweb Broken on SBS2008 after WSS3.0 SP2

A customer of mine recently had a problem when their companyweb stopped working. So I started to look into application event logs, services running etc.. and I discovered that a windows update (Service Pack 2 for WSS3.0) did not install correctly. It didnt finish installing and was only part installed.

Now this one absolutely broke my heart and I am not alone on this from my research on the web. So throughout my searches on the web I cam across this article from the SBS Team Blog.And another one from technet . But the simple fix is to download WSS SP2 and manually extract the contents using this command “wssv3sp2-kb953338-x64-fullfile-en-us.exe /extract:c:\extract” and then manually install each component. Now you will think the installation of each package is freezing as they are quite small in size the biggest component being 25mb but leave them alone to finish their installation, restart your server.

Make sure the bindings are correct in IIS Manager on the SBS Sharepoint site and voila your back up and running.

This took me a lot longer than I would have preferred to sort out but there you go. A Microsoft Update that breaks things if not installed correctly with no easy way to roll back.The update also changes Sharepoint authentication to kerbeos instead of NTLM.

SBS2008 Setup Checklist


I bought the first SBS2008 book that was released which was SBS2008 Unleashed by Eriq Oliver Neale and it was ok. But then the SBS2008 Blueprint book was published from SMB Nation and I found this book much easier to read and follow.

There are 2 Authors Harry B and Philip Elder , Philip is a SBS MVP and has a great blog which he keeps updated reguraly and of special interest is his SBS2008 Setup Checklist. It is currently on version 1.5 and I cant think of a better way of installing and configuring SBS2008.

You can see the setup guide here http://blog.mpecsinc.ca/2009/05/sbs-2008-setup-checklist-v111.html