SBX - Search With Button

SBX - Forum Post Title

claims based authentication

Microsoft Dynamics CRM Forum

Stefan3110 asked a question on 17 Apr 2014 5:18 AM
My Badges

Question Status

Suggested Answer

Hey,

I setup the claims based authentication. Now it works fine when run the crm site from the crm server.

When I run the crm webseite from a other server I get an error “Invalid “

In the CRM there is a Warning in the Event Viewer (Event 1309 ASP.NET 4.0.30319.0)

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 17.04.2014 13:44:27

Event time (UTC): 17.04.2014 11:44:27

Event ID: 7c10108c0a72410b86d9e09e0ad822ca

Event sequence: 28

Event occurrence: 3

Event detail code: 0

Application information:

   Application domain: /LM/W3SVC/1/ROOT-1-130422008305110886

   Trust level: Full

   Application Virtual Path: /

   Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\

   Machine name: CRM

Process information:

   Process ID: 940

   Process name: w3wp.exe

   Account name: AD\CRM

Exception information:

   Exception type: ArgumentNullException

   Exception message: Value cannot be null.

Parameter name: claimsPrincipal

Request information:

   Request URL: crm.domain.de/default.aspx

   Request path: /default.aspx

   User host address: 192.168.xxx.xxx

   User:  

   Is authenticated: False

   Authentication Type:  

   Thread account name: AD\CRM

Thread information:

   Thread ID: 8

   Thread account name: AD\CRM

   Is impersonating: False

   Stack trace:

Custom event details:

What can I do to fix this?

Thanks for your help

Stefan

Reply
Remon Boonstra responded on 17 Apr 2014 7:58 AM
My Badges

Hello STefan,

this sound like you've missend the UPN Claim in your setup, could you check if the Claim is added to your relying trusted parties?

Regards,

Reply
Stefan Kiessig responded on 17 Apr 2014 8:30 AM

Thanks Remon for your help.

I have the Standard "Pass through all UPN Claims" and edit the "Send LDAP Attributes as Claims (UPN)" in the relying trusted parties.

But I dont have reboot the ADFS Server.

Regards

Stefan

Reply
Pradeep Pawar responded on 19 Apr 2014 1:47 AM
My Badges
Suggested Answer
Stefan3110 responded on 19 Apr 2014 9:58 AM
My Badges

Hey  Pradeed,

Thanks for your help.

This is the Way i setup the claims authentication. But i have to Check the firewall. Can the firewall the reason for the problem?

But i will do it next Weekend , After I'm back from vacation.

Regards Stefan

Reply
Pradeep Pawar responded on 20 Apr 2014 10:13 PM
My Badges

Yes it can be related to Firewall thats why we also have to take firewall ports into considerations always...

You can download this white paper as well for more information:

www.microsoft.com/.../details.aspx

Regards,

Pradeep P

Reply
AFTAB HUSSAIN responded on 15 Jul 2014 11:29 PM
My Badges
Pradeep Pawar responded on 19 Apr 2014 1:47 AM
My Badges
Suggested Answer

SBX - Two Col Forum

SBX - Migrated JS