ADFS 2.0 with Salesforce Setup

Posted on 2012-03-20
Medium Priority
Last Modified: 2016-02-16
Hi Experts,

I'm trying to install and configure ADFS 2.0 to work with our Salesforce devbox.  I've followed the steps here:   http://wiki.developerforce.com/page/Single_Sign-On_with_Force.com_and_Microsoft_Active_Directory_Federation_Services

Broadly speaking I have done the following:


Setup a Server 2008 Ent server, installs IIS and created a self signed cert:  hostname.<org>.local


Installed ADFS 2.0 and run through the initial config wizard.  Chose the self signed certificate and set up a stand alone server farm.  No errors or warnings were displayed during configuration.


Set up the correct details in the Saleforce SSO config and downloaded the metadata file.


Set up a relying party trust on the ADFS server as directed and set my UPN against my Salesforce user account.
At this point I'm trying to use the SAML validator and I get the following:

If I try to go to my server and log in through there I get the following:

I seem to be most of the way but not sure if there is a permission setting that needs changing in ADFS/IIS (which I would assume should me managed) or I've missed something out.

Any Ideas?

If I log on with my local AD credentials I get the following:

Question by:ImaCircularSaw
  • 2

Accepted Solution

TheBinaryMan earned 2000 total points
ID: 37817752
 Here are a few suggestions for settings inside of your Salesforce/Force.com instance to help you with the Salesforce side of things.

Sign in normally (via the web page) to your Salesforce/Force.com instance.  By the way you will need to be an Administrator for your Salesforce/Force.com instance.

In Salesforce/Force.com go to:
1.) Username>Setup   -So you can see the Administration Setup on the lower left hand side.
2.) Security Controls>Single Sign On Settings>Edit>(Check the box & Save)
3.) Security Controls>Network Access>New>Insert your public facing IP address.(from step a. below and definetely add your IP address for the server that needs to exchange info with Salesforce)  This will stop the Salesforce instance from requiring the extra token.

To get your current ip address.  Go to:
a.)Adminsitration Setup>Manage Users>Login History>write down or copy your Source IP

Just a few extra ideas that may help you with authenticating.
LVL 10

Author Comment

ID: 37881039
Solution was to contact Salesforce and get the organisation enabled for SSO.
LVL 10

Author Closing Comment

ID: 37881045
Worth while suggestions but not the solution.

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
This Micro Tutorial will explain how to export DynamoDB tables in Amazon Web Services.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question