Skip to Content
Platform.Ontology

Sign in with Microsoft

A login where Microsoft Entra or a personal account tells the site who the person is.

Works without askingSign in and identitySocial loginWeb browsersWhen you are signed in

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

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11:Redirect or popup flow
EdgeSupported1Not listed:Redirect or popup flow
FirefoxSupported12004-11-09:Redirect or popup flow
SafariSupported12003-06-23:Redirect or popup flow
Safari on iPhoneSupported12007-06-29:Redirect or popup flow
Chrome on AndroidSupported1Not listed:Redirect or popup flow
Samsung InternetSupported12013-04-27:Redirect or popup flow

How a site asks for it

APIMSAL.js or OIDC redirect; id_token
How access is grantedprompt
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsRefresh tokens last up to 90 days for work accounts by default
How to take it backClear site data, browser privacy settings
Inside an iframeNot listed

Data you get

What comes back: ID token claims
Shape: object
How often: at sign in

FieldTypeUnitRangePrecision
oidstringGUIDanyexact
tidstringGUIDanyexact

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

TypeExampleApps
gamesXbox 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
enterpriseA company app lets staff sign in with their work account so IT can turn off access the day someone leaves.Microsoft 365, Salesforce
educationA school portal lets students use their school account to open assignments and online tests.Teams for Education
videoA video call web app opens a meeting with the signed in name, so hosts can tell guests from staff.Microsoft Teams
securityA security team requires a second factor and a managed device check before the sign in finishes.None named
creativeA 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

Good uses and abuse

Legitimate uses

  • Enterprise single sign on

Known abuse

  • Employer identification, broad Graph access if consented

Scores

ScoreValueMeaning
Sensitivity5 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2019-05, all: Microsoft identity platform v2 endpoint consolidated personal and work sign in

Sources

How well checked: Based on official documentation.

On this page