SOLVED

direct domain SharePoint login URL - how to skip Home Realm Discovery, with ADFS?

%3CLINGO-SUB%20id%3D%22lingo-sub-51458%22%20slang%3D%22en-US%22%3Edirect%20domain%20SharePoint%20login%20URL%20-%20how%20to%20skip%20Home%20Realm%20Discovery%2C%20with%20ADFS%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-51458%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecan%20someone%20help%20me%20create%20a%20SharePoint%20login%20url%20that%20automatically%20enters%20my%20custom%20domain%20for%20automatic%20ADFS%20login%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20referring%20to%20skipping%20the%20Home%20Realm%20Discovery%2C%20mentioned%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprisemobility%2F2015%2F02%2F11%2Fusing-azure-ad-to-land-users-on-their-custom-login-page-from-within-your-app%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprisemobility%2F2015%2F02%2F11%2Fusing-azure-ad-to-land-users-on-their-custom-login-page-from-within-your-app%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20this%20method%20(%3CA%20href%3D%22https%3A%2F%2Fflamingkeys.com%2Foffice-365-custom-domain-login-url%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fflamingkeys.com%2Foffice-365-custom-domain-login-url%2F%3C%2FA%3E)%20%26nbsp%3BI've%20managed%20to%20get%20my%20users%20automatically%20signed%20into%20the%20Office%20365%20Portal%2C%20but%20I'm%20having%20trouble%20creating%20a%20URL%20for%20SharePoint%20directly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20use%20this%20as%20workaround%20for%20the%20harmon.ie%20Outlook%20addin%20where%20I%20have%20to%20specify%20a%20SharePoint%20URL%2C%20but%20I'm%20constantly%20getting%20to%20the%20Home%20Realm%20Discovery%20authentication%20window%2C%20where%20I%20have%20to%20click%20my%20email%20address.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-51458%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-101441%22%20slang%3D%22en-US%22%3ERe%3A%20direct%20domain%20SharePoint%20login%20URL%20-%20how%20to%20skip%20Home%20Realm%20Discovery%2C%20with%20ADFS%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-101441%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ivan%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20consider%20using%20%22%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FEnable-or-disable-auto-acceleration-for-your-SharePoint-Online-tenancy-74985ebf-39e1-4c59-a74a-dcdfd678ef83%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAuto%20acceleration%3C%2FA%3E%22%20%26nbsp%3Bor%20did%20it%20not%20work%20for%20your%20scenario%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-51491%22%20slang%3D%22en-US%22%3ERe%3A%20direct%20domain%20SharePoint%20login%20URL%20-%20how%20to%20skip%20Home%20Realm%20Discovery%2C%20with%20ADFS%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-51491%22%20slang%3D%22en-US%22%3EYou're%20the%20man.%20Too%20bad%20it%20doesn't%20work%20in%20harmon.ie.%3CBR%20%2F%3EBut%20at%20least%20I%20get%20to%20use%20this%20as%20a%20browser%20homepage.%3CBR%20%2F%3E%3CBR%20%2F%3EADFS%20part%20is%20already%20done%20and%20working.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20again!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-51485%22%20slang%3D%22en-US%22%3ERe%3A%20direct%20domain%20SharePoint%20login%20URL%20-%20how%20to%20skip%20Home%20Realm%20Discovery%2C%20with%20ADFS%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-51485%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EYou%20can%20use%20this%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Flogin.microsoftonline.com%2Flogin.srf%3Fwa%3Dwsignin1.0%26amp%3Bwhr%3Dtenant.com%26amp%3Bwreply%3Dhttps%253A%252F%252Ftenant.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flogin.microsoftonline.com%2Flogin.srf%3Fwa%3Dwsignin1.0%26amp%3Bwhr%3Dtenant.com%26amp%3Bwreply%3Dhttps%253A%252F%252Ftenant.sharepoint.com%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EChanging%20the%20two%20instances%20of%20'tenant'%20to%20match%20your%20domain.%26nbsp%3B%20If%20internal%2C%20the%20user%20will%20log%20in%20without%20any%20prompts%2C%20if%20external%20they%20will%20get%20the%20AD%20FS%20prompt%20only.%3C%2FP%3E%3CP%3EYou%20will%20need%20to%20modify%20your%20AD%20FS%20servers%20for%20the%20bypass%20in%20Chrome%20and%20Edge%20to%20work%20corrrectly%20though%2C%20as%20by%20default%20it%20will%20only%20work%20with%20IE.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Valued Contributor

Hi,

 

can someone help me create a SharePoint login url that automatically enters my custom domain for automatic ADFS login?

 

I'm referring to skipping the Home Realm Discovery, mentioned here https://blogs.technet.microsoft.com/enterprisemobility/2015/02/11/using-azure-ad-to-land-users-on-th...

 

Using this method (https://flamingkeys.com/office-365-custom-domain-login-url/)  I've managed to get my users automatically signed into the Office 365 Portal, but I'm having trouble creating a URL for SharePoint directly.

 

I'm trying to use this as workaround for the harmon.ie Outlook addin where I have to specify a SharePoint URL, but I'm constantly getting to the Home Realm Discovery authentication window, where I have to click my email address.

3 Replies
best response confirmed by Ivan Unger (Valued Contributor)
Solution

Hi,

You can use this:

https://login.microsoftonline.com/login.srf?wa=wsignin1.0&whr=tenant.com&wreply=https%3A%2F%2Ftenant...

 

Changing the two instances of 'tenant' to match your domain.  If internal, the user will log in without any prompts, if external they will get the AD FS prompt only.

You will need to modify your AD FS servers for the bypass in Chrome and Edge to work corrrectly though, as by default it will only work with IE.

You're the man. Too bad it doesn't work in harmon.ie.
But at least I get to use this as a browser homepage.

ADFS part is already done and working.

Thanks again!

Hi Ivan,

 

Did you consider using "Auto acceleration"  or did it not work for your scenario?