Notifications
Announcements
No record found.
Hi Team,
I am working on a requirement where i need to authentication the user to consume web service hosted on IIS Dynamic Ax. We need to generate a token on first request send by authenticated user. Then that token should pass to the further request to dynamic ax.
I have gone through by many article related to this but couldn't get the complete solution.
Please suggest if there is any proved solution.
Thanks
Ashok Kumar
AX 2012 R3 uses Active Directory Windows authentication. If you have a requirement to use some other access protocol, then use a middleware application that can perform token authentication, and then when connecting to AX uses windows authentication.
Hi Anup, Thanks for your reply.
We have checked many articles on it and found ADFS (Active Directory Federation Service) provide us the token authentication to validate the user.
please suggest us if we are good to go in that direction.
Or you can suggest us any middle ware application to authenticate the user.
Please note IIS web services uses basicHttpBinding, details here docs.microsoft.com/.../basichttpcontextbinding. In AX we only support the Windows authentication as the client protocol. There is no support for ADFS token based authentication.
You are looking at building another proxy web service that accepts adfs authentication token to call a web service method, and then that method calls the AX service performing windows authentication of same user. It doesn't matter if the service is running on IIS or AOS.
AX IIS web services are just routable services, meaning IIS is used for authentication only, the actual service method is processed by the AOS (check the wcf configuration of any IIS hosted AX web service). So maybe you should look at creating an IIS webservice server that allows users to connect to that and the proxy methods call the net.tcp services on the AOS, to by-pass one whole layer.
I am not aware of any on-premises middleware app that will accomplish this. Maybe the community has further suggestions and can share different opinions and solutions.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional