How to I connect to AAD using powershell

﹥>﹥吖頭↗ 提交于 2019-12-25 09:46:49

问题


I have an hotmail account myaccount123@hotmail.com associated with Azure subscription and AAD (Default Directory - myaccount123hotmail.onmicrosoft.com).

When I execute Connect-MsolService in Microsoft AAD module for PowerShell, a login popup appears, but I'm not able to login with my hotmail credentials. Login says:

hotmail.com isn't in our system


回答1:


I have the same setup as you where my hotmail account (Microsoft account) is also associated with Azure subscription and AAD.

Here's the AzureAD PowerShell module which I am using - Version 2.0.0.131

When I run Connect-AzureAD cmdlet, I am able to login with my hotmail account and get the result as shown:



来源:https://stackoverflow.com/questions/46114970/how-to-i-connect-to-aad-using-powershell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!