Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.5k views
in Technique[技术] by (71.8m points)

azure - Error - Connect-MsolService : Your credentials could not be authenticated. Try again

In Powershell, I executed the below cmdlets

Connect-MsolService

Getting error like below

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 ?

Tried below link:

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 -- I am able open the azure management portal.

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/

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.

Please suggest.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

Just wantend to state that:

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.5k users

...