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

Announcements

No record found.

News and Announcements icon
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

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans