加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

Windows – MSOnline无法在PowerShell导入(Connect-MsolService

发布时间:2020-12-13 20:59:13 所属栏目:Windows 来源:网络整理
导读:我有这个问题,找不到任何答案。问题是我试图使用Azure cdmlets通过c#代码连接到O365,但是我不能得到connect-msolservice。 “”The term is not recognized” error when you try to run administrative Windows PowerShell cmdlets in Office 365″ 在审
我有这个问题,找不到任何答案。问题是我试图使用Azure cdmlets通过c#代码连接到O365,但是我不能得到connect-msolservice。

“”The term is not recognized” error when you try to run administrative Windows PowerShell cmdlets in Office 365″

在审查了Microsoft的TechNet文章 “Azure Active Directory Cmdlets” -> section “Install the Azure AD Module”后,似乎这个过程已经大大简化了,谢谢。

截至2016/06/30,为了成功执行PowerShell命令Import-Module MSOnline和Connect-MsolService,您将需要安装以下应用程序(仅限64位):

>适用的操作系统:Windows 7到10
名称:“Microsoft在线服务登录助手IT专业人士RTW”
版本:7.250.4556.0(最新)
安装人员网址:https://www.microsoft.com/en-us/download/details.aspx?id=41950
安装程序文件名:msoidcli_64.msi
>适用的操作系统:Windows 7到10
名称:“适用于Windows PowerShell的Windows Azure Active Directory模块”
版本:未知,但最新的安装文件的SHA-256散列是D077CF49077EE133523C1D3AE9A4BF437D220B16D651005BBC12F7BDAD1BF313
安装人员网址:https://technet.microsoft.com/en-us/library/dn975125.aspx
安装程序文件名:AdministrationConfig-en.msi
>适用的操作系统:仅限Windows 7
名称:“Windows PowerShell 3.0”
版本:3.0(以后的版本也许会工作)
安装人员网址:https://www.microsoft.com/en-us/download/details.aspx?id=34595
安装程序文件名:Windows6.1-KB2506143-x64.msu



(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读