Are you trying to login using a personal (outlook, hotmail, etc) account? Those are not supported.
PowerShell won't accept my Azure credentials
I'm trying to get rid of AD Connect settings in Azure. Support has given me this link +, however, PowerShell won't accept my credentials as provided in step 3. The credentials are correct, I've checked, and they work fine for logging in to Azure through the web portal. I've tried the address of my MS account, and also the "onmicrosoft" variation, no success.
The first error message (MS account) was:
connect-msolservice : Authentication Error: Bad username or password. In Zeile:1 Zeichen:1 + connect-msolservice -credential $msolcred + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [Connect-MsolService], Exception + FullyQualifiedErrorId : System.Exception,Microsoft.Online.Administration.Automation.ConnectMsolService
The second one:
("onmicrosoft" address, same PW): connect-msolservice : Authentication Error: Unexpected authentication failure. In Zeile:1 Zeichen:1 + connect-msolservice -credential $msolcred + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [Connect-MsolService], Exception + FullyQualifiedErrorId : System.Exception,Microsoft.Online.Administration.Automation.ConnectMsolService
I don't know whether it matters, but it is a free trial Azure account, and there is no active O365 subscription, just the basic access to office.com that comes with the account. Any ideas?
1 answer
Sort by: Most helpful
-
Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,456 Reputation points
2020-10-05T18:31:40.61+00:00