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:
- Open Server Manager.
- Click Features, click Add Features, click .NET Framework 3.51 Features, and then click .NET Framework 3.51.
- In Windows 7:
- Open Programs and Features.
- Click Turn Windows features on or off.
- Click to select the Microsoft NET Framework 3.51 check box, and then click OK.