[英]How do i add Microsoft Accounts to my Azure AD using PowerShell?
I can add new users to my AD using Command: 我可以使用Command将新用户添加到我的广告中:
New-MsolUser -UserPrincipalName $signInAddress -FirstName $firstName -LastName $lastName -DisplayName $displayname -Title $title
but it requires the UPN to be in my AD domain. 但它要求UPN在我的AD域中。
I see related questions about adding accounts from other Azure AD (and currently that is not supported). 我看到有关从其他Azure AD添加帐户的相关问题(当前不支持)。
Henrik, Azure AD PowerShell doesn't support adding Microsoft Accounts to the directory. Henrik,Azure AD PowerShell不支持将Microsoft帐户添加到目录中。 It can only be done using the Azure Management portal. 只能使用Azure管理门户来完成。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.