SharePoint Pals
 | Sign In
Step by Step Procedures to add a Relying Party on ADFS 2.0
by Sathish Nadarajan 20 Apr 2013
SharePoint MVP
Today  :   13     Total  :    31997

In this blog post let us see how to configure the Third party relying party in the ADFS 2.0 Server. This blog post is a continuation of my previous post on Provider Hosted App for SharePoint 2013

After the deployment, if we go and launch the app, we will get the following error message on the screen.


By seeing the error, we can come to a conclusion that the ADFS Server which we configured for our claims cannot be accessed. This is because, when our site requests a Claim from the ADFS Server, our site needs to be added as a Relying Party on the ADFS Server. Now let us see how to add a Third party relying trust on the ADFS Server step by step.

1. Login to the ADFS Server.

2. Launch the ADFS Management Console.


3. On the left hand tree view, select the “Relying Party Trust”.


4. Right click “Relying Party Trusts” and select “Add Relying Party Trust”.


5. We will be prompted with the following screens.


6. Click on Start.


7. Select the “Enter data about the relying party manually” option and click next.

8. Enter the name for this relying party.


9. Select ADFS 2.0 and click next.


10. You will be prompted to browse for a Certificate to encrypt and decrypt the claims. But this is an optional. We can skip this step by pressing the Next.


11. After the above screen, you will be prompted to enter the relying Party url.


12. On the next screen, you can see the entered url will be added.


13. Select the Permit all users option


14. By this we came to the end of the steps.


15. Click on Next to launch the Claims rules.


16. On that Click “Add Rule”.


17. The claim rule template, by default, we can select the Send LDAP Attributes as Claims. Since we are going to use AD as our Claims supplier.

18. On the ClaimRule Name, give a name and the Attribute Store, Since we are going to use the Active Directory, choose that one.


19. On the mapping, let us assume for our example, we are using the E-mail Address as the LDAP Attribute and Outgoing Claim Type also as E-mail.

20. The finished wizard will look like this.


21. With this the configuration of ADFS has been completed.

Now go back to the Browser and Refresh the AppWeb. This will get loaded without any error.

In the next article, let us see how to fetch the Context of the SharePoint from our Provider Hosted Application.

blog comments powered by Disqus

SharePoint Pals

SharePoint Pals, a community portal for SharePoint developers, Administrators and End Users. Let's join hands and share the point together.
Read this on mobile


Angular Js Training In Chennai
Advanced Angular Js training with real world developer scenarios
Angular Js, Web Api and Ionic for .Net Developers
All in one client side application development for .Net developers
Angular Js For SharePoint Developers
Get ready for the future. Its no more just C#

Get Connected

SharePoint Resources

SharePoint 2013 and 2010 Web Parts
Free Web Parts with Source Code for SharePoint Community

SharePoint 2013 Books and Tutorials
Collection of free SharePoint 2013 books and tutorials (eBooks, pdfs)

Supported By

Contribute your article and be eligible for a one month Free Subscription for Plural Sight. The Author of the most popular New Article (published in the previous month) will be awarded with a Free One month Plural Sight Subscription. Article can be sent to in a word document.

Related Resources

Recent Tweets

Twitter October 20, 13:01
How to Add a JS Link Reference to the NewForm and EditForm Programmatically using CSOM PNP in SharePoint Office 365-

Twitter October 12, 12:15
How to Deploy Provider Hosted Apps (Add-Ins) by App Stapling in SharePoint Office 365 -

Twitter October 11, 13:39
How to Deploy Provider HostedApp programmatically using CSOM in SharePoint Office 365 Activating Developer Feature -

Twitter October 10, 09:26
How to Use Angular HTTP Services in SharePoint List -

Twitter October 10, 09:25
How to Get All Items from SharePoint List and Display it in Custom HTML table with Sorting using AngularJS -

Follow us @SharePointPals
Note: For Customization and Configuration, CheckOutRecent Tweets Documentation