We have integrated our SharePoint environment with ADFS. Configured everything and we are able to authenticate using ADFS. However, after the successful login from the ADFS page, we are redirected to the root site instead of the requested URL. below is the sample URL of the ADFS login page:


I had this issue in past, it is due to some configuration steps missing.

  • On ADFS side, when you " configure the url" during the relying party trust wizard...Make sure you added /_trust/ at the end of your web app url. Like https://url/_trust/

  • Also Make Sure Realm Identifier Is Same On Both Side(SharePoint And Adfs).It Is Case Senstive.


| improve this answer | |
  • ADFS has been configured and authentication is working properly. In our scenario: 1. Requested the URL "abcstg.company.com/sites/samplesite" 2. Select the ADFS provider as authentication 3. User will be redirected to the ADFS login page 4. Provider username and password, and additional multi-factor authentication 5. After successful authentication, instead of being redirected to the requested URL from step 1, we got redirected to the rootsite of the web application. abcstg.company.com – asepdf Dec 3 '17 at 11:16
  • What we want is to be redirected to the requested URL, not in the rootsite of the web application since we're adding users per sitecollection. – asepdf Dec 3 '17 at 11:28
  • Yes, I totally understand...that's why I told u.make sure that you have put _trust word in your url when you run the wizard.if trust word is not there then it will redirect to root site....that was our issue in past – Waqas Sarwar MVP Dec 3 '17 at 14:26
  • /_trust/ has been already added in the relying party url. what happens after the authentication is we are being redirected here: - "abcstg.company.com/_layouts/15/…" Accessing the URL: "abcstg.company.com/_trust" leads us there as well. – asepdf Dec 4 '17 at 2:12
  • im not certain if the relying party identifier should be in the format of urn:name:name, this is the last configuration we did and it now works. – asepdf Dec 4 '17 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.