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

Announcements

News and Announcements icon
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
    240,536 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans