Search code examples
azureauthenticationazure-active-directorygoogle-accountmicrosoft-account

Create a Microsoft account programmatically


I have an app that uses Azure Active Directory to authenticate and manage people. I need to be able sign-in anyone using their 3rd party accounts (Gmail, Yahoo, or any organizational account).

Can I register people into my Azure AD if they have a 3rd party account, which is not a Microsoft account yet? I know I can send them to https://signup.live.com/ where their account will become a Microsoft account. The question is if I can do that programmatically when they register on my site? How?


Solution

  • Since I posted the question, Microsoft released a solution for that. It is called Azure Active Directory B2C. It offers connecting 3rd party accounts to the an AD. All major 3rd party accounts can become Microsoft accounts this way.

    B2C pages are here: https://azure.microsoft.com/en-gb/documentation/services/active-directory-b2c/