[英]Create a Microsoft account programmatically
I have an app that uses Azure Active Directory to authenticate and manage people. 我有一个使用Azure Active Directory进行身份验证和管理人员的应用程序。 I need to be able sign-in anyone using their 3rd party accounts (Gmail, Yahoo, or any organizational account). 我需要能够使用他们的第三方帐户(Gmail,Yahoo或任何组织帐户)登录任何人。
Can I register people into my Azure AD if they have a 3rd party account, which is not a Microsoft account yet? 如果他们拥有一个第三方帐户(不是Microsoft帐户),我可以将他们注册到我的Azure AD中吗? I know I can send them to https://signup.live.com/ where their account will become a Microsoft account. 我知道我可以将它们发送到https://signup.live.com/ ,在那里他们的帐户将成为Microsoft帐户。 The question is if I can do that programmatically when they register on my site? 问题是,当他们在我的网站上注册时,我是否可以通过编程方式进行操作? How? 怎么样?
Since I posted the question, Microsoft released a solution for that. 自从我发布问题以来,Microsoft就发布了一个解决方案。 It is called Azure Active Directory B2C. 它称为Azure Active Directory B2C。 It offers connecting 3rd party accounts to the an AD. 它提供了将第三方帐户连接到AD的功能。 All major 3rd party accounts can become Microsoft accounts this way. 这样,所有主要的第三方帐户都可以成为Microsoft帐户。
B2C pages are here: https://azure.microsoft.com/en-gb/documentation/services/active-directory-b2c/ B2C页面在这里: https : //azure.microsoft.com/en-gb/documentation/services/active-directory-b2c/
No. The concept of creating a Microsoft account for another user does not make any sense. 否。为另一个用户创建Microsoft帐户的概念没有任何意义。 How will the user know the password for the account? 用户将如何知道该帐户的密码? Microsoft Accounts are owned and managed by individuals and must be created individuals. Microsoft帐户由个人拥有和管理,必须创建个人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.