- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试通过 powershell 脚本使用“应用程序密码”作为身份验证 MFA 方法连接到 azure AD。
这是我的脚本:
$username = '<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="285d5b4d5a684d50494558444d064b4745" rel="noreferrer noopener nofollow">[email protected]</a>'
$Password = ConvertTo-SecureString 'MyPassword' -AsPlainText -Force
$creds = new-object System.Management.Automation.PSCredential($username, $password)
Connect-MsolService -Credential $creds
但是我收到了这个错误:
Connect-MsolService : Authentication Error: Unexpected authentication failure
最佳答案
我也有类似的问题。我运行了下面的 PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Connect-MsolService
关于azure - 连接-MsolService : Authentication Error: Unexpected authentication failure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65822568/
我正在尝试使用在 AzureAD 中创建的服务主体通过 PowerShell 脚本进行连接。我成功创建了 SP,创建了 key ,还创建了自签名证书并将其与帐户关联。我知道如何使用 Connect-A
我需要使用 Connect-MSolservice 列出启用了 MFA 的帐户。Connect-MSolservice 是否支持使用服务主体帐户进行身份验证? 最佳答案 很快是 It supports
我正在使用 powershell 连接到 azure,但我无法使用 Connect-MsolService 进行连接。当我尝试使用Connect-AzureAD时它显示一个提示,询问我的凭据,我输入它
在 Powershell 中,我执行了以下 cmdlet 连接 MsolService 出现如下错误 Connect-MsolService : Your credentials could not
在 Powershell 中,我执行了以下 cmdlet 连接 MsolService 出现如下错误 Connect-MsolService : Your credentials could not
我正在尝试通过 powershell 脚本使用“应用程序密码”作为身份验证 MFA 方法连接到 azure AD。 这是我的脚本: $username = '[email protected]'
我正在尝试通过 powershell 脚本使用“应用程序密码”作为身份验证 MFA 方法连接到 azure AD。 这是我的脚本: $username = '[email protected]'
我遇到了这个问题,但找不到任何答案。问题是我尝试使用 Azure cdmlet 通过 C# 代码连接到 O365,但无法获取 connect-msolservice。 ""The term is no
我正在使用 Azure AD PS 模块的新预览版本。我正在尝试通过新的 AccessToken 参数进行连接: Connect-MsolService - AccessToken ey... 但我收
我是一名优秀的程序员,十分优秀!