如何将Microsoft帐户添加到Azure Active Directory? [英] How do I add a Microsoft account to Azure Active Directory?
问题描述
通过旧门户将用户添加到Azure Active Directory时,会看到以下屏幕: 它允许您使用现有的Microsoft帐户添加用户.
When you adding a user to Azure Active Directory via the old portal you see this screen: It allows you to add a user with an existing microsoft account.
我需要使用现有的Microsoft帐户导入许多用户.我正计划编写一个Powershell脚本来实现这一目标.
I need to import many users with existing microsoft accounts. I'm planning on writing a powershell script to achive that.
如何使用Powershell脚本将现有的Microsoft帐户添加到Azure AD?
How do I add an exising microsoft account to Azure AD with a powershell script?
New-AzureADUser 抱怨"userPrincipalName"是无效,如在此问题.还有另一种方法吗?
New-AzureADUser complains that "userPrincipalName" is invalid, as can be seen in this question. Is there another way?
推荐答案
不幸的是,Azure PowerShell模块不支持将Microsoft帐户添加到Azure Active Directory.利用此功能的唯一方法是使用旧的Azure门户 https://manage.windowsazure.com/
Unfortunately, Azure PowerShell modules do not support adding Microsoft accounts to Azure Active Directory. The only way to utilize this feature is to use the old Azure Portal https://manage.windowsazure.com/
这篇关于如何将Microsoft帐户添加到Azure Active Directory?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!