需要安装的一个组件是:Microsoft Online Services Sign-in Assistant for IT Professionals RTW,这个我也安装了。 然后就是运行命令:install-module -name AzureAD 这个命令也是运行成功的,但是一运行 import-module MSOnline就会出错。 我去这里 C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules 检查了下,没有下载...
具体出错信息如下: PS C:> Import-Module MSOnline Import-Module : Could not load file or assembly ‘file:///C:\Program Files\WindowsPowerShell\Modules\MSOnline\1.1.183.17\Microsoft.Online.Administration.Automation.PSModule.dll’ or one of its dependencies. An attempt was made to load a program ...
Pour pouvoir vous connectez en PowerShell à l’interface Office 365, vous devez avoir installer Cmdlet MSOnline d’installer Install MSOnline Cmdlets Start PowerShell as administrator and enter the following command: Install-Module -Name MSOnline At the security warning validate the installation of th...