如果您无法将GitHub或Google 帐户(Google account)与Microsoft 帐户 (MSA)(Microsoft account (MSA))相关联,那么这篇文章将告诉您如何操作,并在遇到问题时提供故障排除提示。当您使用GitHub登录时,Microsoft会检查与您的(Microsoft)GitHub帐户关联的任何电子邮件地址是否与现有的个人或企业Microsoft帐户匹配。如果地址与您的企业帐户匹配,系统会提示您登录该帐户。如果地址与个人帐户匹配,Microsoft会将您的GitHub帐户作为登录方法添加到该个人帐户。
当您使用 @gmail.com 电子邮件地址注册新的个人Microsoft服务时, (Microsoft)Microsoft为您提供使用Google帐户凭据创建Microsoft帐户的能力。您将获得Microsoft的所有帐户和安全功能,并且可以轻松使用您已经使用的用户名和密码。
如果您已经有一个现有的Microsoft帐户,当您输入您的帐户用户名(电子邮件、电话号码或Skype别名)时,将显示您的凭据选项(从Authenticator应用程序到您的Microsoft帐户密码)。目前,您无法将Google作为凭据添加到现有帐户。
如何将GitHub或Google帐户与Microsoft 帐户关联(Microsoft Account)
以下是链接GitHub(GitHub)或Google帐户和Microsoft帐户后可能出现的一些常见登录问题- 以及故障排除,按照Microsoft的建议,您可以尝试帮助解决这些问题。
1] 您忘记了您的 GitHub 帐户或 Google 帐户密码。(1] You forgot your GitHub account or Google account password.)
您可以通过此 GitHub 页面恢复您的(this GitHub page)GitHub帐户,也可以通过此 Google 页面(this Google page) 恢复您的Google帐户。或者,您可以通过在此 Microsoft 页面(this Microsoft page)上输入您的Google或GitHub帐户的电子邮件地址来恢复您的Google或GitHub链接的Microsoft帐户。
2] 您无法登录 Google,或者您看到带有 500 的错误页面。(2] You can’t sign into Google or you see an error page with a 500.)
如果Google或Gmail不可用,这意味着您在尝试登录时可能会在accounts.google.com上看到错误页面。如果发生这种情况,您可以使用帐户恢复选项将密码添加到您的Microsoft帐户,以便您不会被要求在Google上自动登录。中断(Outages)很少会持续很长时间,因此您也可以在 15-30 分钟后重试,看看问题是否已解决。
3] 您删除了您的 GitHub 或 Google 帐户。您现在如何访问您的 Microsoft 帐户?(3] You deleted your GitHub or Google account. How do you access your Microsoft account now?)
如果您的Microsoft(Microsoft)帐户上没有任何其他凭据(例如密码、身份验证(Authenticator)器应用程序或安全密钥),您可以通过转到此处(going here)并使用附加的电子邮件地址来恢复您的 Microsoft 帐户。(recover your Microsoft account)
4] 登录页面上没有“使用 GitHub 登录”或“使用 Google 登录”按钮。您如何登录?(4] There’s no “Sign in with GitHub” or “Sign in with Google” button on the sign-in page. How do you sign in?)
键入您在创建与Google或GitHub链接的Microsoft帐户时选择的(Microsoft)GitHub或Google帐户电子邮件地址。或者,如果登录页面上有登录(Sign)选项链接,请使用单击该链接后显示的使用GitHub或Google登录按钮。(Sign)
5] 您无法在特定产品或应用程序中使用您的 GitHub 或 Google 帐户登录。(5] You can’t sign in with your GitHub or Google account in a particular product or app.)
并非所有Microsoft产品都可以从其登录页面访问GitHub.com和Google.com - 例如,设置期间的Windows PC或 Xbox 360 控制台。(Windows PCs)相反,当您从链接的GitHub或Google帐户中键入电子邮件地址时,您将收到该地址的代码,以验证它是您本人。您仍然登录到同一个帐户,只是通过不同的登录方法。
6] 您为您的 Google 或 GitHub 链接的 Microsoft 帐户添加了密码。这会导致问题吗?(6] You added a password to your Google or GitHub-linked Microsoft account. Will this cause a problem?)
一点也不。这不会更改您的Google或GitHub密码;您将有另一种方式登录您的Microsoft帐户。每当您使用您的电子邮件地址登录时,您都可以选择使用您的Microsoft帐户密码登录,或者根据具体情况前往Google或GitHub登录。如果您需要添加密码, (GitHub)Microsoft建议您这样做,请确保它与您的Google或GitHub帐户的密码不同。
一些额外的故障排除方案如下:
1] 您想将 Authenticator 应用程序添加到您使用 Google 创建的帐户中。(1] You want to add the Authenticator app to the account you created using Google.)
只需下载(download the) Authenticator应用程序并使用您的电子邮件地址登录。当您使用您的电子邮件地址登录时,系统会提示您选择应用程序或Google作为您的凭据。
2] 您在 Google 和 Microsoft 帐户上都启用了两步验证。(2] You enabled two-step verification on both your Google and Microsoft accounts.)
由于安全限制,Microsoft将使用(Microsoft)Google登录视为单因素验证,即使您在那里启用了两步验证。因此,您必须再次为您的Microsoft帐户进行身份验证。
3] 您不记得您的帐户是否与 Google 相关联。(3] You can’t remember if your account is linked to Google.)
每当您使用您的帐户别名(电子邮件地址、电话号码、Skype名称)进行登录时,我们都会向您显示您帐户的所有登录方法。如果您在那里没有看到Google,则说明您尚未设置它。
4] 您想取消您的 Google 帐户与您的 Microsoft 帐户的关联。(4] You want to unlink your Google account from your Microsoft account.)
转到您的Microsoft帐户的安全选项卡,然后单击(Security tab)更多安全选项(More security options)>管理您登录 Microsoft(Manage how you sign in to Microsoft)的方式以取消链接您的Google帐户。取消关联您的Google帐户会将其作为一种登录方式移除。
Let us know in the comments section below any other issues you might have encountered linking your GitHub or Google account with MSA!
How to link GitHub or Google account with Microsoft Account
If you cannot link your GitHub or Google account with Microsoft account (MSA), then this post tells you how to do it & offers troubleshooting tips if you face issues. 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, Microsoft adds your GitHub account as a sign-in method to that personal account.
When you sign up for a new personal Microsoft service with a @gmail.com 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.
If you already have an existing Microsoft account, when you type in your account username (email, phone number, or Skype alias), your credential options will be shown (from the Authenticator app to your Microsoft account password). At this time, you cannot add Google as a credential to your existing account.
How to link GitHub or Google account with Microsoft Account
Here are some common sign-in issues that could appear after you link your GitHub or Google account and Microsoft accounts – and the troubleshooting, as recommended by Microsoft, you can try to help redress the issues.
1] You forgot your GitHub account or Google account password.
You can recover your GitHub account via this GitHub page and you can recover your Google account via this Google page. Or, you can recover your Google or GitHub-linked Microsoft account by entering your Google or GitHub account’s email address at this Microsoft page.
2] You can’t sign into Google or you see an error page with a 500.
If Google or Gmail is unavailable, it means you might see an error page on accounts.google.com when you try to sign in. If this happens, you can use the account recovery option to add a password to your Microsoft account so that you aren’t asked to sign in at Google automatically. Outages rarely last very long, so you can also try again in 15-30 minutes to see if the issue has been fixed.
3] You deleted your GitHub or Google account. How do you access your Microsoft account now?
If you don’t have any other credentials on your Microsoft account (like a password, Authenticator app, or security key), you can recover your Microsoft account by going here and using the email address attached to it.
4] There’s no “Sign in with GitHub” or “Sign in with Google” button on the sign-in page. How do you sign in?
Type the GitHub or Google account email address you chose when you created your Google or GitHub-linked Microsoft account. Or, if there’s a Sign-in options link on the sign-in page, use the Sign in with GitHub or Google button that’s shown after you click that link.
5] You can’t sign in with your GitHub or Google account in a particular product or app.
Not all Microsoft products can access GitHub.com and Google.com from their sign-in page—for example, Windows PCs during set up or Xbox 360 consoles. Instead, when you type the email address from your linked GitHub or Google account, you’ll receive a code to that address to verify it’s really you. You’re still signing in to the same account, just by a different sign-in method.
6] You added a password to your Google or GitHub-linked Microsoft account. Will this cause a problem?
Not at all. This doesn’t change your Google or GitHub password; you’ll just have another way to sign in to your Microsoft account. Whenever you sign in using your email address, you’ll be offered the choice of signing in with your Microsoft account password or going to Google or GitHub as the case may be to sign in. Microsoft recommends that, if you need to add a password, you make sure it’s different from the password for your Google or GitHub account.
Some additional troubleshooting scenarios is as follows:
1] You want to add the Authenticator app to the account you created using Google.
Just download the Authenticator app and sign in using your email address. When you sign in with your email address, you’ll be prompted to choose either the app or Google as your credential.
2] You enabled two-step verification on both your Google and Microsoft accounts.
Because of security restrictions, Microsoft counts signing in with Google as a single-factor verification, even if you have two-step verification enabled there. Therefore, you’ll have to authenticate again for your Microsoft account.
3] You can’t remember if your account is linked to Google.
Whenever you sign using your account alias (email address, phone number, Skype name), we’ll show you all the sign-in methods for your account. If you don’t see Google there, you haven’t set it up yet.
4] You want to unlink your Google account from your Microsoft account.
Go to the Security tab of your Microsoft account and click More security options > Manage how you sign in to Microsoft to unlink your Google account. Unlinking your Google account removes it as a sign-in method.
Let us know in the comments section below any other issues you might have encountered linking your GitHub or Google account with MSA!