Sign in with Microsoft
A login where Microsoft Entra or a personal account tells the site who the person is.
In one line
Can sign you in with Microsoft and learn your name, email and employer
A login where Microsoft Entra or a personal account tells the site who the person is.
ID token claims include sub, oid (directory object ID), tid (tenant ID), name, preferred_username and optionally email. Work accounts reveal the employer's tenant ID. Graph scopes can add mail, files and calendar.
What it can and can't do
What the user does: You tap Sign in with Microsoft and choose a work, school or personal account
It can
- Receive a stable Microsoft ID for you
- Get your name, sign in name and sometimes your email
- Learn your employer or school directory ID if you use a work account
- Ask for extra access such as mail, files or calendar on a second screen
It cannot
- See your mail, files or calendar unless you approve that extra access
- Get your Microsoft password
- Skip a company's own sign in rules for work accounts
- Sign in without you choosing an account
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | :Redirect or popup flow |
| Edge | Supported | 1 | Not listed | :Redirect or popup flow |
| Firefox | Supported | 1 | 2004-11-09 | :Redirect or popup flow |
| Safari | Supported | 1 | 2003-06-23 | :Redirect or popup flow |
| Safari on iPhone | Supported | 1 | 2007-06-29 | :Redirect or popup flow |
| Chrome on Android | Supported | 1 | Not listed | :Redirect or popup flow |
| Samsung Internet | Supported | 1 | 2013-04-27 | :Redirect or popup flow |
How a site asks for it
| API | MSAL.js or OIDC redirect; id_token |
| How access is granted | prompt |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Refresh tokens last up to 90 days for work accounts by default |
| How to take it back | Clear site data, browser privacy settings |
| Inside an iframe | Not listed |
Data you get
What comes back: ID token claims
Shape: object
How often: at sign in
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
oid | string | GUID | any | exact |
tid | string | GUID | any | exact |
Technical limits
- email claim is optional and not always verified
- tid reveals the organisation for work accounts
- Admin consent may be needed for broad scopes
The story
What it is
A login where your Microsoft work, school or personal account tells the site who you are.
For you
You click a Microsoft button, pick a personal or work account and may approve on your phone. Work accounts can show an admin message about what the site may see. You then land in the app already signed in.
For makers
Makers of business software get single sign on with a company's own directory and access rules. They also get a tenant ID so they know which customer company a user belongs to.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | Xbox Cloud Gaming signs a person in with their Microsoft account in the browser, then streams a console game on a laptop or phone. | Xbox Cloud Gaming, Minecraft |
| enterprise | A company app lets staff sign in with their work account so IT can turn off access the day someone leaves. | Microsoft 365, Salesforce |
| education | A school portal lets students use their school account to open assignments and online tests. | Teams for Education |
| video | A video call web app opens a meeting with the signed in name, so hosts can tell guests from staff. | Microsoft Teams |
| security | A security team requires a second factor and a managed device check before the sign in finishes. | None named |
| creative | A web based design or writing tool uses the same account to open cloud files from OneDrive. | Canva, Miro |
Risks
- Shows company affiliation
- Admin can see sign ins
What the platform says
- Microsoft: Microsoft identity platform. Microsoft pitches one sign in for work, school and personal accounts across apps, with built in security checks.
Good uses and abuse
Legitimate uses
- Enterprise single sign on
Known abuse
- Employer identification, broad Graph access if consented
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 5 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 2 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2019-05, all: Microsoft identity platform v2 endpoint consolidated personal and work sign in
Related capabilities
Related
- Sign in with Google. Can sign you in with Google and learn your name, email and photo
Sources
How well checked: Based on official documentation.