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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF Service Consuming on ASP.Net - Failed to logon to Microsoft Dynamics AX

(1) ShareShare
ReportReport
Posted on by

Object Server 01:  An error has occurred in the services framework.  Method: AifMessageInspector::AfterReceiveRequest.  Error: System.ServiceModel.FaultException: Failed to logon to Microsoft Dynamics AX

*This post is locked for comments

I have the same question (0)
  • Mariano Gracia Profile Picture
    on at
    RE: AIF Service Consuming on ASP.Net - Failed to logon to Microsoft Dynamics AX

    I hope this link helps you, it explains how to configurate basic authentification and how to consume the inbound port blogs.msdn.com/.../how-to-implement-basic-authentication-with-dynamics-ax-2012-web-services.aspx

  • Community Member Profile Picture
    on at
    RE: AIF Service Consuming on ASP.Net - Failed to logon to Microsoft Dynamics AX

    I hosted my asp.net website on IIS server but when consuming AIF service i am getting this error.

    Please suggest which user needs to be have access.

  • Mariano Gracia Profile Picture
    on at
    RE: AIF Service Consuming on ASP.Net - Failed to logon to Microsoft Dynamics AX

    If the user that is executing the .net application is not a Dynamics AX user, then you get that error message. In my production environment I have an inbound port that is consumed by an external application (but inside my domain), so I have created a specific domain user to execute the .net application who consumes the inbound port

  • Martin Dráb Profile Picture
    235,876 Most Valuable Professional on at
    RE: AIF Service Consuming on ASP.Net - Failed to logon to Microsoft Dynamics AX

    It seems that the account doesn't have access to AX.

    There is nothing else I can say without more information from you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans