【问题标题】:Different with Microsoft Azure AD Module PowerShell and Microsoft Azure Powershell与 Microsoft Azure AD 模块 PowerShell 和 Microsoft Azure Powershell 不同
【发布时间】:2015-09-21 08:18:21
【问题描述】:

我尝试使用适用于 Windows PowerShell 的 Microsoft Azure Active Directory 模块运行命令 Set-MsolDomainAuthentication。但是当我尝试连接到我的天蓝色帐户(connect-msolservice)时,我得到了例外。我输入电子邮件和密码,然后我得到:

我尝试在 Google、Azure 支持中找到解决方案,但我发现的一切都是无用的。

在我的系统上,我有一个名为 Microsoft Azure PowerShelllink 的应用程序。在这个应用程序中,我可以通过命令Add-AzureAccount 连接我的 azure 帐户。但这一次,我找不到与Set-MsolDomainAuthentication 类似的东西。

此命令存在于 Azure PowerShell 中吗? 我可以通过其他方式更改 Azure AD,例如命令 Set-MsolDomainAuthentication?也许是 Azure 管理面板?还是GraphApi

【问题讨论】:

  • 安装 Azure AD PowerShell 模块时是否安装了MSOL Sign-in Assistant
  • @BenV 是的,安装 Azure AD PoweShell 模块需要此应用程序。

标签: powershell azure azure-active-directory azure-powershell


【解决方案1】:

我在使用 Powershell 时遇到了类似的问题。当我尝试从帐户 MicrosoftLive 记录凭据时出现此异常。您域中的 Powershell 必需帐户。

所以: 在azure域中创建一个角色为GlobalAdmin的新用户,更改密码这个用户,通过登录Office365,输入这个用户的PowerShell凭据。

祝你好运。

【讨论】:

    猜你喜欢
    • 2016-01-26
    • 2022-12-01
    • 1970-01-01
    • 2016-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-07-29
    • 2018-02-15
    相关资源
    最近更新 更多