错误 - Connect-MsolService:您的凭据无法通过身份验证.再试一次 [英] Error - Connect-MsolService : Your credentials could not be authenticated. Try again

查看:31
本文介绍了错误 - Connect-MsolService:您的凭据无法通过身份验证.再试一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Powershell 中,我执行了以下 cmdlet

In Powershell, I executed the below cmdlets

连接-MsolService

Connect-MsolService

出现如下错误

Connect-MsolService : Your credentials could not be authenticated. Try again
or contact Technical Support.
At line:1 char:1
+ Connect-MsolService
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [Connect-MsolService], Mic
   rosoftOnlineException
    + FullyQualifiedErrorId : 0x80048820,Microsoft.Online.Administration.Autom
   ation.ConnectMsolService

我正在提供 Azure 门户帐户的凭据,这有什么问题?我应该提供什么凭据?

I am giving the credentials of Azure portal account, what is wrong with this ? What credentials should I give ?

尝试以下链接:

https://msdn.microsoft.com/library/azure/jj151815.aspx#BKMK_connect --我有最新版本的 MSOL 库.

https://msdn.microsoft.com/library/azure/jj151815.aspx#BKMK_connect -- I have latest version of MSOL libraries.

https://support.microsoft.com/en-in/kb/2412085 -- 我可以打开 azure 管理门户.

https://support.microsoft.com/en-in/kb/2412085 -- I am able open the azure management portal.

以下链接显示输入您的 B2C 租户管理员帐户的用户名和密码."

The below link says "Enter the user name and password of your B2C tenant administrator account."

https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/

我使用的用户名是 Azure 门户的共同管理员.共同管理员是否可以连接到 MSOL 服务.

I am using the username, that is co-administrator for the Azure Portal. Is it possible the co-administrator can connect to the MSOL Services.

请提出建议.

推荐答案

我遇到了同样的问题.如前所述,我通过创建一个新的全局管理员解决了这个问题.

I had excatly the same problem. I solved it with creating a new Global Administrator as already mentioned.

只想说明:

-这必须在旧门户中完成,而不是新门户中

-this must be done in the old portal, not the new one

-向该 AAD B2C 添加本机帐户,来宾帐户不起作用

-adding a native account to that AAD B2C, guest accounts do not work

这篇关于错误 - Connect-MsolService:您的凭据无法通过身份验证.再试一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆