Simplify Microsoft 365 authentication with URL hints
Written on July 1, 2024

Microsoft 365’s authentication experience can involve a bit of typing and clicking for your users (and yourself, especially if you’re juggling multiple accounts). You can simplify this a little using the login_hint and domain_hint parameters when hitting the authentication page.

Login Hint

https://www.microsoft365.com/login?login_hint=<upn>

If your UPN is [email protected] you can use the URL:

https://www.microsoft365.com/[email protected]

Domain Hint

https://www.microsoft365.com/login?domain_hint=<domain>

If your domain is contoso.com you can use the URL:

https://www.microsoft365.com/login?domain_hint=contoso.com

Comments/questions

There's no commenting functionality here. If you'd like to comment, please either mention me (@[email protected]) on Mastodon or email me. I don't have any logging or analytics running on this website, so if you found something useful or interesting it would mean a lot to hear from you.