web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Impersonation/LogonUser - authentication error

(0) ShareShare
ReportReport
Posted on by 25

Impersonation/user/pass/windowsidentity/credential/C360

At my company we are creating a system using CRM.  The database is on a different server from the webserver.  The system consists of aspx pages which use C360.  C360 requires Impersonation, it impersonates as a domain user, but when the thread reaches the point of communicating with the Databaseserver we get an authentication error.  If after the C360 Impersonation we do our own impersonation, everything work, but to do our own impersonation we need user/pass which we dont have. 

The WindowsIdentity(from which we impersonate) we create with user and pass, when inspected looks just like HttpContext.Current.User.Identity, but it still seams like there is some difference between how HttpContext.Current.User.Identity is created and how we create our windowsidentity, since we get this authentication error.

Can someone help please ? :)

Regards, Sigurdur

 

*This post is locked for comments

I have the same question (0)
  • Sigurður Einarsson Profile Picture
    25 on at
    Re: Impersonation/LogonUser - authentication error

    The exact error text is :

    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

  • Ms Harvey Profile Picture
    5 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans