Skipping the home realm discovery Page


Hi All,

We have custom portal deployed on azure webapp with with ADAL .net Authentication. Please let us know if there is any way that we can avoid the O365 Landing Page where user has to select his email to login.  We need a seamless sso without even prompting the user to select the email.




2 Replies
best response confirmed by Mudasar Syed (Contributor)

Hi Syed,


Skipping that is very much possible.


See this article:


How to do this?

The implementation depends on the protocol you use to talk to Azure AD.

  • For web applications that use the Open ID Connect protocol, simply add the following query string parameter to the sign-in URL: &, where is the realm of the users who are expecting to sign in.
  • For web applications that use the WS-Federation protocol, use & instead.
  • For native applications built with our ADAL libraries, you need to pass the domain hint in the AquireToken construct. Check out Vittorio’s blog post for more details. His post also provides guidance if you’re using our OWIN middleware.For web applications that use the SAML Protocol, you need to send the hint as part of the SAML AuthN request.


Note: Seamless sign in without having to enter any credentials at all wont be possible since the Auth token is required for your app specifically.


Hope this helps.




Thanks Jasjit. This worked as we are expecting !!!