Step by Step Procedures to add a Relying Party on ADFS 2.0

Sathish Nadarajan
 
Solution Architect
April 20, 2013
 
Rate this article
 
Views
59118

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.

clip_image002

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.

clip_image004

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

clip_image006

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

clip_image008

5. We will be prompted with the following screens.

clip_image010

6. Click on Start.

clip_image012

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

8. Enter the name for this relying party.

clip_image014

9. Select ADFS 2.0 and click next.

clip_image016

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.

clip_image018

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

clip_image019

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

clip_image021

13. Select the Permit all users option

clip_image023

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

clip_image025

15. Click on Next to launch the Claims rules.

clip_image027

16. On that Click “Add Rule”.

clip_image029

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.

clip_image031

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.

clip_image033

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.

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

Leave a comment