Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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
    Bashir Ahmad 5,248 on at
    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
    Denis Macchinetti 16,444 on at
    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
    Community Member Microsoft Employee on at
    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
    Community Member Microsoft Employee on at
    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
    Denis Macchinetti 16,444 on at
    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
    Community Member Microsoft Employee on at
    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
    Community Member Microsoft Employee on at
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans