如何使用Powershell连接到AAD

如何使用Powershell连接到AAD

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

问题描述

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

I have an hotmail account [email protected] 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帐户(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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 15:07