我有问题。当我尝试使用Powershell配置SSO(Dynamics NAV和Azure AD)时,出现此错误:
验证Office 365租户配置的先决条件 没有安装在这台计算机上。
Microsoft Online Services Sign-In Assistant for IT Professionals can be downloaded and installed from http://go.microsoft.com/fwlink/?LinkID=330113 Windows Azure Active Directory Module for Windows PowerShell can be downloaded and installed from http://go.microsoft.com/fwlink/?LinkID=330114
在I:\ New 文件夹\ WindowsPowerShellScripts \ NAVOffice365Administration \ Set-NavSingleSignOnWithOffice365.ps1:327 字符:9
抛出新对象-TypeName System.Management.Automation.ItemN ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
CategoryInfo:InvalidArgument:(:String)[],ParentContainsErrorRecordException
FullyQualifiedErrorId:SessionStateException
我安装了这些扩展,但错误仍然存在。请帮帮我。
答案 0 :(得分:0)
对于其他发现此问题的人,您需要运行以下两个命令:
Install-Module -Name MSOnline
Install-Module -Name AzureAD
如果您在尝试安装时收到错误消息,则需要下载并安装最新的Windows Management Framework,在评论时为5.1:https://www.microsoft.com/en-us/download/details.aspx?id=54616