You can't open the Azure Active Directory module for Windows PowerShell
Original product version: Cloud Services (Web roles/Worker roles), Microsoft Entra ID, Microsoft Intune, Azure Backup, Office 365 User and Domain Management, Office 365 Identity Management
Original KB number: 2461873
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.
- Select Features, select Add Features, select .NET Framework 3.51 Features, and then select .NET Framework 3.51.
In Windows 7:
- Open Programs and Features.
- Select Turn Windows features on or off.
- Select to select the Microsoft NET Framework 3.51 check box, and then select OK.