简体   繁体   English

无法使用Connect-MsolService连接

[英]Cannot connect using Connect-MsolService

Im using powershell to connect to azure but I´m not able to connect using Connect-MsolService . 我正在使用Powershell连接到Azure,但无法使用Connect-MsolService When I try using Connect-AzureAD it shows a prompt asking for my credentials and I enter it and it connects normally. 当我尝试使用Connect-AzureAD ,会显示提示询问我的凭据,然后输入该凭据,它将正常连接。 But when I try using Connect-MsolService I put the same credentials on the prompt but it fails saying that the email or password is wrong (but its the same credentials for the Connect-AzureAD command). 但是,当我尝试使用Connect-MsolService我在提示符上输入了相同的凭据,但未能显示电子邮件或密码错误(但对于Connect-AzureAD命令,它具有相同的凭据)。

You should install the latest AzureAD module. 您应该安装最新的AzureAD模块。 https://docs.microsoft.com/en-us/powershell/module/azuread/ https://docs.microsoft.com/en-us/powershell/module/azuread/

Logon with Connect-AzureAD 使用Connect-AzureAD登录

Confirm Domain with Confirm-AzureADDomain 使用Confirm-AzureADDomain确认域

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM