You can't open the Azure Active Directory Module for Windows PowerShell

Applies to: Cloud Services (Web roles/Worker roles)Azure Active DirectoryMicrosoft Intune


When you try to open the Microsoft Azure Active Directory Module for Windows PowerShell, the Windows PowerShell console window opens with many text errors indicating that module packages couldn't be loaded.


This issue occurs if you don't have the Microsoft .NET Framework 3.51 enabled on your computer.


To resolve this issue, manually enable the .NET Framework 3.51. To do this, follow these steps, as appropriate for the operating system that you're running:
  • In Windows 2008 R2:
    1. Open Server Manager.
    2. Click Features, click Add Features, click .NET Framework 3.51 Features, and then click .NET Framework 3.51.
  • In Windows 7:
    1. Open Programs and Features.
    2. Click Turn Windows features on or off.
    3. Click to select the Microsoft NET Framework 3.51 check box, and then click OK.


Still need help? Go to Microsoft Community or the Azure Active Directory Forums website.