Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : WKjkKmUXY3rlgnyckyGgLH
Microsoft Dynamics AX (Archived)

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Like (0) ShareShare
ReportReport
Posted on 1 Jul 2014 18:53:27 by

Hi,

I would ask of you to help a problem EP. The error Login failed for user 'NT AUTHORITY \ ANONYMOUS LOGON' when I try to access the EP externally. I have a database and the EP on separate machines.

The settings of IIS authentication is:

anonymous authentication: disable

asp.NET impersonation: enable

basic authentication: disable

digest authentication: disable

forms authentication: disable

windows authentication: enable

In sharepoint:

authentication: windows

integrated windows authentication

NTLM

Anyone know how can I solve this problem?

Thank you,

*This post is locked for comments

  • Suggested answer
    Bashir Ahmad Profile Picture
    5,248 on 30 Apr 2015 at 14:30:05
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Here are the steps to resolve Error “Login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON”:

    Open Powershell (Run as Administrator) and type the following lines:

    $bdc = Get-SPServiceApplication | where {$_ -match “Business Data Connectivity Service”}

    $bdc.RevertToSelfAllowed = $true

    $bdc.Update();

    Once above is done, Open the External Content Type in SharePoint Designer 2010 and Click on Edit Connection Properties.

    Once the Edit Connection Properties dialog opens, ensure that you have selected the “BDC Identity” value for the Authentication Mode property.

    Go Back to the External Content Type read screen in your SharePoint site and hold your Ctrl key and click the refresh button on your browser.

    The error “Login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON” should now get resolved

  • Denis Macchinetti Profile Picture
    16,444 on 08 Jul 2014 at 03:17:38
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Hi Alex

    Have you checked the event viewer on AOS and IIS server ?

  • Community Member Profile Picture
    on 07 Jul 2014 at 17:43:10
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Apparently, the problem is that the User is taking this request to the database, now a developer is analyzing this, because part of this infrastructure all ok apparently.

  • Community Member Profile Picture
    on 02 Jul 2014 at 20:10:45
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Essa configuração do anonymous no IIS e Sharepoint tambem ja foi testada conforme essa documentação, mas eu tenho certeza como estava a configuração enable Guest User on AX and assign a specific Role. Eu irei checar essa configuração.

    Thanks

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on 02 Jul 2014 at 19:55:32
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Hi Alex

    The "anonymous authentication" must be enabled both IIS and SharePoint.

    Also you have to enable Guest User on AX and assign a specific Role.

    Take a look at technet.microsoft.com/.../hh285823.aspx

  • Community Member Profile Picture
    on 02 Jul 2014 at 11:28:38
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Hi,

    Thanks for the tip, but this flag was already cleared.

  • Suggested answer
    Community Member Profile Picture
    on 02 Jul 2014 at 00:55:36
    RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

    Please validate the setup of your EP website in Dynamics AX whether  'Annonymous access' is set

    if it is ticked then remove it.

    you will find this under System Administrator > Setup > enterprise portal > Web sites

    Please verify and update us with your findings.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,342 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete