have an error on linked server 'Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.'

Wondi Woldetensay 0 Reputation points
2023-06-29T21:50:24.1833333+00:00

We have a linked server which was working ,now it is showing 'Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.'and any work around?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,951 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 33,946 Reputation points
    2023-06-30T08:21:58.7866667+00:00

    Hi @Wondi Woldetensay,

    Sometimes when trying to access a linked server, you’d get an error saying “Login failed for user NT AUTHORITY\ANONYMOUS LOGON”. This happens because you’re connected using Windows authentication, and SQL Server fails to “forward” your credentials to the linked server.

    Check it out here about the details.

    https://eitanblumin.com/2022/11/02/configuring-linked-server-with-delegation-step-by-step/

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.
    0 comments No comments

  2. Olaf Helper 41,886 Reputation points
    2023-06-30T05:30:01.2533333+00:00

    'Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.'and any work around?

    "Any work around" is to assign/mapping the right user credentials in the Linked Server security settings, see

    Create linked servers (SQL Server Database Engine)

    => Edit the Security page for the linked server propertie

    0 comments No comments

  3. Vickey Rajpoot 0 Reputation points
    2024-01-09T14:22:17.5233333+00:00

    Hey guys! Follow this below article for detail about configuration and all the related settings.

    If you are new to this kind of error, then possibly this article will help from basic to advanced understanding of the issue and also further troubleshooting.

    https://kingfishertechtips.in/kerberos-issue-nt-anonymous-login-failed/

    0 comments No comments