Announcements
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
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
Hi Alex
Have you checked the event viewer on AOS and IIS server ?
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.
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
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
Hi,
Thanks for the tip, but this flag was already cleared.
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.
André Arnaud de Cal...
293,342
Super User 2025 Season 1
Martin Dráb
232,445
Most Valuable Professional
nmaenpaa
101,158
Moderator