如何使用Powershell连接到AAD [英] How to I connect to AAD using powershell

查看:363
本文介绍了如何使用Powershell连接到AAD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个与Azure订阅和AAD相关联的Hotmail帐户myaccount123@hotmail.com(默认目录-myaccount123hotmail.onmicrosoft.com).

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

当我在Microsoft AAD模块中为PowerShell执行Connect-MsolService时,会出现一个登录弹出窗口,但是我无法使用hotmail凭据登录.登录说:

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不在我们的系统中

hotmail.com isn't in our system

推荐答案

我的设置与您相同,其中我的hotmail帐户(Microsoft帐户)也与Azure订阅和AAD相关联.

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

这是我正在使用的 AzureAD PowerShell模块-Version 2.0.0.131

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

运行Connect-AzureAD cmdlet时,我可以使用hotmail帐户登录并获得如下所示的结果:

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

这篇关于如何使用Powershell连接到AAD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆