大网数据广告活动
域与目录服务

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

· 52CE 我爱测

Discusses that you can't open the Azure Active Directory module for Windows PowerShell because the .NET Framework 3.51 is not enabled on the computer. A resolution is provided to enable the .NET Framework 3.51.

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

Symptoms

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.

Cause

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

Resolution

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. Select Features, select Add Features, select .NET Framework 3.51 Features, and then select .NET Framework 3.51.

In Windows 7:

  1. Open Programs and Features.
  2. Select Turn Windows features on or off.
  3. Select to select the Microsoft NET Framework 3.51 check box, and then select OK.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 06/22/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。