
How to Enter Your Microsoft Link Code: Complete Guide
Few things are more frustrating than needing to connect your phone to your PC and hitting a wall of confusing codes and URLs. That’s where microsoft.com/link comes in – a single webpage that securely links devices for Xbox sign-in, phone-to-PC pairing, or Windows 365 Link setup.
Official redirect URL: https://www.microsoft.com/link ·
Code length: 8 alphanumeric characters ·
Code expiration: 10 minutes ·
Common use cases: Xbox, Windows, Phone Link
Quick snapshot
- The code entry page at TechPP (tech how-to guide) requires an 8-character code.
- Codes are generated from the device or account settings and expire after a short period (WindowsForum (community resource)).
- Exact backend logic for code generation and validation is not publicly documented.
- Whether the code entry page supports all browsers equally is unverified.
- Codes expire after 10 minutes (TechRT (Xbox sign-in guide)).
- After expiration, a new code must be generated on the source device (TechRT (Xbox sign-in guide)).
- Once linked, cross-device features like Phone Link and Xbox remote play become available.
- Microsoft may expand the code entry flow to more devices and services.
Here is a summary of key facts about the Microsoft link code.
| Fact | Value |
|---|---|
| Official URL | https://www.microsoft.com/link |
| Code length | 8 alphanumeric characters |
| Code expiration | 10 minutes |
| Supported device types | Xbox, Windows PC, Phone, Surface Hub, Windows 365 Link |
Where do I enter my Microsoft link code?
The official entry point is https://www.microsoft.com/link. This page is the destination for any code your device generates — a console, a phone, or a Windows PC all point you here.
Navigating to https://www.microsoft.com/link
- Open a web browser on any device that has internet access — a phone, tablet, or another computer (Ricky Spears (tech blog)).
- Type
https://www.microsoft.com/linkinto the address bar and press Enter. The page will load a simple code entry field.
Entering the code on the code entry page
- The page displays a single input box expecting an 8-character code. The code is typically 6 to 8 characters (TechPP (tech how-to guide)).
- Enter the code exactly as shown on your source device, then click “Next” or “Allow access” (TechRT (Xbox sign-in guide)).
What to do after entering the code
- If you aren’t already signed in to a Microsoft account, the page will prompt you to sign in (The Windows Club (tech help site)).
- Some users may see additional verification, such as two-factor authentication (The Windows Club (tech help site)).
- After successful validation, the device is linked to your Microsoft account automatically (The Windows Club (tech help site)).
Bottom line: The microsoft.com/link page is the single destination for all device codes. Enter the code, sign in if needed, and the connection is made.
How do I connect to Microsoft Link?
“Microsoft Link” is the device-linking service that ties your Microsoft account to your hardware. It’s used for everything from phone-to-PC connections to Xbox sign-in.
Using Microsoft Link for phone-to-PC connection
- Microsoft’s Phone Link app for Android starts by displaying a QR code on the PC screen. The companion app is opened via
aka.ms/yourphoneqrc(Microsoft Support (official guidance)). - After scanning the QR code with the Phone Link companion app, your Android phone is linked to your PC (Microsoft (cross-device sync page)).
Requirements for Windows Phone Link
- You need a Microsoft account and a compatible Android or iOS device (Microsoft Support (official guidance)).
- Both devices must be on the same Wi-Fi network for the initial setup (per Microsoft’s instructions).
Step-by-step linking process
- On your PC, open the Phone Link app (pre-installed on Windows 10 and 11).
- Select your phone type (Android or iOS).
- Sign in with your Microsoft account, then use the QR code or the
microsoft.com/linkcode to connect (Microsoft (cross-device sync page)).
Bottom line: Microsoft Link is the bridge between your devices. For phone-to-PC, the QR code method is the primary path; the code entry page is used for other devices like Xbox.
How do I create a Microsoft link?
You don’t “create” a link in the traditional sense — you generate a temporary code from a device that needs to be linked.
Generating a link code from your Microsoft account
- On an Xbox console, navigate to Settings > Account > Sign-in, security & passkey > “My sign-in & security preferences” and select “Add new” to generate a code (TechRT (Xbox sign-in guide)).
- On a Windows PC, you can generate a code through the Phone Link app or during Windows 365 Link setup.
- The code is usually 8 alphanumeric characters and is displayed on the screen of the source device.
Using the link code on another device
- Open a browser on the second device, go to
https://www.microsoft.com/link, and enter the code (TechPP (tech how-to guide)). - After entering the code, you may need to sign in to your Microsoft account on the browser to complete the link.
Security considerations
- Never share your code publicly — it’s a single-use token that can grant access to your account (Ricky Spears (tech blog)).
- Codes expire after 10 minutes, limiting the window for misuse (WindowsForum (community resource)).
- If you suspect someone else saw your code, generate a new one immediately.
The 10-minute code expiration is a deliberate security measure — it reduces the risk of stolen codes being used later. Treat your link code like a one-time password.
The implication: treating your code like a one-time password keeps your account safe from unauthorized access.
What is the purpose of a Microsoft link?
The Microsoft link service authenticates device connections to your Microsoft account securely. It’s not a hyperlink; it’s the device-code authentication flow.
Linking devices securely
- The device code flow starts by obtaining a device code and user code from a
/devicecodeendpoint, then the app polls a token endpoint until the user signs in and consents (Microsoft Learn Q&A (developer community)). - This method ensures that the device never has to store your password — the code is a temporary token.
Enabling cross-device features
- Once linked, you can use Phone Link to read texts, view photos, and make calls from your PC (Microsoft Support (official guidance)).
- Xbox users can sync achievements, purchases, and game saves across consoles and Windows.
- Windows 365 Link devices use the same flow to connect to a cloud PC.
Differences from other Microsoft links (e.g., hyperlinks)
- “Microsoft link” in this context is a device authentication code, not a hyperlink in a document.
- Hyperlinks are used for navigation; link codes are used for authorization.
- Confusing the two can lead to security mistakes — the code is a sensitive credential.
Bottom line: The Microsoft link code is a temporary, secure token that lets devices authenticate without sharing passwords. It’s the backbone of features like Phone Link and Xbox sign-in.
Why can’t I use Microsoft link?
Sometimes the code entry page doesn’t work as expected. Here are the most common reasons.
Expired or invalid code
- Codes expire after 10 minutes. If you take too long, you’ll need to generate a new one (WindowsForum (community resource)).
- Double-check the code — it’s case-sensitive. A single wrong character will fail.
Browser or cookie issues
- Clear your browser cache and cookies, or try a different browser (The Windows Club (tech help site)).
- Some privacy extensions can block the redirect; disable them temporarily.
Account restrictions
- Child accounts may have linking restrictions enabled by parental controls (Microsoft Support (official guidance)).
- If you see “We’re unable to display the list,” it usually means the account lacks permission to link devices.
If you’re using a work or school Microsoft account (e.g., Office 365), device linking may be blocked by your organization’s policy. Use a personal Microsoft account instead.
The pattern: most link failures come from expired codes, browser issues, or account restrictions – and the fix is usually straightforward.
What experts say
“To link a device, go to https://www.microsoft.com/link and enter the code displayed on your device.”
— Microsoft Support (official guidance)
“The device code flow starts by obtaining a device code and user code from a /devicecode endpoint, then the app polls a token endpoint until the user signs in and consents.”
— Microsoft Learn Q&A (developer community)
For anyone using a Microsoft account across multiple devices, the microsoft.com/link flow is the simplest way to establish secure connections. The key takeaway: treat your link code like a one-time password — generate it, use it quickly, and never share it. For users in the Microsoft ecosystem, the choice is clear: use the code entry page for Xbox, Windows Phone Link, or Windows 365 Link, and you’ll be connected in under a minute.
digitalconnectmag.com, windowsforum.com, techesi.com, lifestyle.assist-all.co.jp, lifestyle.assist-all.co.jp
Frequently asked questions
How long does a Microsoft link code last?
Codes expire after 10 minutes from the moment they are generated. If you exceed that window, you need to generate a new code from the source device (TechRT (Xbox sign-in guide)).
Can I reuse the same code?
No. Each code is single-use. Once it has been entered on the microsoft.com/link page and the device is linked, the code becomes invalid.
What happens if the code expires before I enter it?
The code entry page will show an error. You’ll need to go back to the source device and generate a fresh code.
Do I need a Microsoft account to use the link code?
Yes. The entire purpose of the code is to authenticate and link a device to your Microsoft account. You must sign in to the account on the browser during the process (The Windows Club (tech help site)).
Is the microsoft.com/link page safe to use?
Yes, it’s an official Microsoft page. The domain is owned by Microsoft, and the page uses HTTPS encryption. Be cautious of phishing sites that mimic the page — always check the URL is https://www.microsoft.com/link.
Can I link multiple devices with one code?
No. Each code is tied to a single device linking session. If you want to link another device, you must generate a new code for that device.
Why does the page say ‘We’re unable to display the list’?
This message usually appears when the account doesn’t have permission to link devices — for example, child accounts with parental controls, or work/school accounts with organizational restrictions. Try signing in with a personal Microsoft account (Microsoft Support (official guidance)).