错误 - 连接 - MsolService:您的证书不能进行身份验证。再试一次 [英] Error - Connect-MsolService : Your credentials could not be authenticated. Try again
问题描述
在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
我给天青门户网站帐户的凭据,有什么不好呢?我应该给什么凭据?
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."
<一个href=\"https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/\" rel=\"nofollow\">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.
请建议。
推荐答案
您使用的是必须被分配(全球)管理员在Azure的Active Directory中的角色由你所引用的文件中规定的帐户:
The account you are using must be assigned the role of (Global) Administrator in Azure Active Directory as stated by the document you referenced:
在您可以创建应用程序或用户,或与Azure的广告进行互动
在所有的,您将需要一个Azure的AD B2C租户和全球
管理员帐户的租户。
Before you can create applications or users, or interact with Azure AD at all, you will need an Azure AD B2C tenant and a global administrator account in the tenant.
在默认情况下,所有共同管理员帐户将被添加到成员的角色Azure的AD。
By default, all co-administrator accounts are added to Azure AD in 'Member' role.
这篇关于错误 - 连接 - MsolService:您的证书不能进行身份验证。再试一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!