Installing the Windows Azure AD module for managing Office 365 goes fine when the workstation is Windows 7. But, you will be in for a surprise if you try to install the module on Windows 8 or 2012.
You need the Microsoft Sign In Assistant 7.0 installed before trying to install the powershell module. But even after installing the sign in assistant, the Azure AD module installation will complain that you don’t have the pre-requisites met! The exact error is “In order to install Windows Azure Active Directory Module for Windows PowerShell, you must have Microsoft Online Services Sign-In Assistant version 7.0 or greater installed on this computer”.
1. You can install the Beta version of Microsoft Sign In Assistant for IT Professionals. The beta version is newer than the RTM one, which is used normally. Having the word Beta at the end of the name will raise issues while trying to get it into production servers in medium to large organizations. If you are a small shop, things will be much more easier. The beta version is 7.250.4551.0 while the RTM is 7.250.4303.0. If you are not upset about installing the newer BETA release, download it here.
2. Another workaround is to “trick” the Azure AD module installer to think that it has the beta version on the machine, while only installing the RTM one. Follow the steps below. Open notepad and paste in the lines below.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSOIdentityCRL] “MSOIDCRLVersion”=”7.250.4551.0” “MSOIDCRLVersion_Default”=”7.250.4303.0”
Save the file with a .reg extension. I will call it Fix.reg Once it is saved, double click the file so that the registry changes are made. Your Azure AD module install should go through fine after that. You can undo the registry changes after installing by saving the following as a .reg file and double clicking it.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSOIdentityCRL] “MSOIDCRLVersion”=”7.250.4303.0” “MSOIDCRLVersion_Default”=”7.250.4303.0”
Cloud Architect & Blogger with interests in Office 365, Enterprise Mobility & Security and Azure. I am active on Experts Exchange & TechNet forums and I am a technical author for SearchExchange. Follow me on Twitter, LinkedIn, Facebook or Google+ for the latest updates. For consultancy opportunities, drop me a line.