ADFS Error when enabling Client Based Authentication in Dynamics CRM


I am in the process of enabling Client Based Authentication in Dynamics CRM and have followed the installation guides for installing Dynamics CRM and ADFS on seperate servers on the same domain. Dynamics CRM is installed on SBS 2008 and the ADFS is installed on MS Server 2008. I have checked the certificates by viewing the federation metadata urls and there are no errors. I have registered the SPNs for the adfs and crm servers. I have added the url to the intranet zone in Internet Explorer.

I have internal access to the CRM using the Outlook client however when I use the url in Internet Explorer I get the following error:

    There was a problem accessing the site. Try to browse to the site again.
    If the problem persists, contact the administrator of this site and provide the reference number to identify the problem.
    Reference number: 426f433b-93c2-4703-9c68-f8b08f73f61d

Everytime I refresh the view I get a different reference number for the error. I have checked the event viewer on the ADFS server for errors relating to the ADFS and there are none listed in the logs with the same configuration ids. Infact I do not have any errors showing for the ADFS at all only information.

Any help would be greatly appreciated.

Thanks in advance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Feridun KadirPrincipal ConsultantCommented:
Which URL are you browsing to in IE when you get the error? Is it the internal URL for CRM?
Judes7789Author Commented:
Yes it is the internal url for CRM
Feridun KadirPrincipal ConsultantCommented:
OK. When you get the error, has the URL changed to that of ADFS?

I wonder if you have done an iisreset on both the ADFS and CRM servers?

Also, what port did you install CRM on?  Perhaps a firewall issue is preventing a connection between the servers.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Judes7789Author Commented:
Hi Feridun

Yes the url has changed to ADFS.
I have done an iisreset on both servers and ensured that the port that CRM is installed is open to traffic.
Still get the error.
Judes7789Author Commented:
I managed to solve the issues - it was to do with the authentication in IIS for Dynamics CRM and for ADFS.

IFD working now as well.

feridun - Thanks for your suggestions.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Feridun KadirPrincipal ConsultantCommented:
Glad you got there.
Judes7789Author Commented:
Using a combination of the suggestions provided by feridun and further research around the authentication for CRM on IIS and AFDS I was able to solve the issue.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.