检查是否安装了PowerShell,从运行键入PowerShell。如果已安装,通过运行$PSVersionTable命令检查版本。如果版本低于3或没有安装PowerShell,从这里安装PowerShell V 3.0。
确保已安装以下模块:
Microsoft Online Service Sign-in Assistant for IT Professionals RTW - 检查是否安装这个模块,运行service.msc 并检查'Microsoft
Online Services Sign-in Assistant'服务是否安装。如果没有安装,这里下载模块。
Windows Azure Active Directory Module for Windows PowerShell (64-bit version) - 检查模块是否安装,打开PowerShell并输入
get-module -Name msonline。如果已安装,将列出这个模块。如果没有安装,在这里下载模块。