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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Authentication method for Web based Mobile Apps using Dynamics AX Custom Services?

(0) ShareShare
ReportReport
Posted on by 900

Hello, I have build an ASP.NET MVC 5 based Responsive Application with HTML5, Bootstrap and jQuery so it should run in many kind of devices. Application runs in IIS and uses AX's Custom Services. But what comes to Authentication against AX 2012 I don't quite know what technique would be best. Application is still a Web Application so should it still used Authentication methods that ordinary Web Applications do? I think maybe.

Can anyone suggest me some Authentications methods to this Web Application vs. AX Custom Service case? Like to hear from your experiences,

Best Regards,

Michael

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    Are you talking about authenticating the web server or individual users using your application?

  • Community Member Profile Picture
    on at

    Hi,

    I think the authentication method to choose depends if your web users have accounts in Active Directory or not. Probably you will have to implement claims based authentication (like the SharePoint based AX Enterprise Portal is using)

    https://community.dynamics.com/ax/b/axfortechies/archive/2012/05/01/claims-based-flexible-authentication-in-dynamics-ax-2012.aspx

    http://msdn.microsoft.com/en-us/library/hh291068(v=vs.110).aspx

    p.s.

    Sorry, Martin is absolutely right, if you are asking how to authenticate against the WCF service (AX Custom Service) then forget my post :)

    BR,

     Oleg

  • Suggested answer
    Ismael Utitiaj Profile Picture
    426 on at

    Hi Mike, you can use on summary:

    - Concept of trusted intermediary (create claims user into AX )

    - add Claims user created and other Domain user into Ax custom service  by Inbound port Form, button Trusted Intermediary users.

    - Into Web.Confi file you need to add claim user.

    <client>

         <endpoint address="net.tcp://InstanceName:8201/DynamicsAx/Services/CustomService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_ServiceName" contract="InvernegReference.ServiceName" name="NetTcpBinding_ServiceName">

           <identity>

             <userPrincipalName value="ClaimUserName@DomainComapany.com" />

           </identity>

         </endpoint>

       </client>

    - Setup IIS pool application authentication properties and link the DOMAIN USER added into Trusted Intermediary users

    In this way I can work with my web mobile app and AX 2012 R2.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans