Cannot Install Windows Azure AD Module For PowerShell On Windows 8 & 2012

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”.

Azure AD module error There are two ways to get around this issue.

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. Registry edit to fix the Azure AD module installation 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”

6 thoughts on “Cannot Install Windows Azure AD Module For PowerShell On Windows 8 & 2012”

  1. Rajith – thank you!!!!!!!! Did a Google search while having this problem and came across your perfectly worded blog entry. Cannot thank you enough my friend. Greetings from Canada.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.