Link your GitHub or Google account with your Microsoft account

Applies to: Microsoft AccountWindows 10

Linking a Github account

GitHub identity support lets you use your existing GitHub account as a credential for a new or existing Microsoft account, linking your GitHub account with your Microsoft account. 

When you sign in with GitHub, Microsoft checks whether any email addresses associated with your GitHub account match an existing personal or enterprise Microsoft account. If the address matches your enterprise account, you'll be prompted to sign in to that account instead. If the address matches a personal account, we’ll add your GitHub account as a sign-in method to that personal account.

After your GitHub and Microsoft account credentials are linked, you can use that single sign-in anywhere a personal Microsoft account can be used, like on Azure sites, Office apps, and Xbox. These accounts can also be used for Azure Active Directory guest logins as a Microsoft account, assuming the email address matches the one on the invite. 

Troubleshooting tips for linking a Github account

Here are some problems that could appear after you link your GitHub and Microsoft accounts.

Common sign-in issues

Linking a Google account

When you sign up for a new personal Microsoft service with a email address, Microsoft offers you the ability to use your Google account credentials to create your Microsoft account.   You will get all the account and security features of Microsoft, with the ease of using a username and password you already use. 

During the initial phase, not all customers who want to create a Microsoft account using their email address will be offered the option.  You can still use your email and we’ll simply ask you to create a new password.

What if I already have an existing Microsoft account?

When you type in your account username (email, phone number, or Skype alias), we’ll find that account and show your credential options (from the Authenticator app to your Microsoft account password). At this time, you cannot add Google as a credential to your existing account.

Troubleshooting tips for linking a Google account

Additional scenarios