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)

AX 2012 OData with HTTPS

(0) ShareShare
ReportReport
Posted on by

I am working on a proof of concept to show Dynamics AX 2012 data in Salesforce using OData.  I have setup a Dynamics AX 2012 demo environment in Azure using Microsoft Lifecycle Services - technet.microsoft.com/.../dn741581.aspx

I am able to access data through the OData URL - server.domain/.../ODataQueryService and was able to verify through Excel.

When working with Salesforce, only https is supported as a username/password is passed to the OData connection.  I have had a very difficult time finding information on how to update the OData service in Dynamics to use https.

Any information on how to setup this configuration is appreciated.

*This post is locked for comments

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

    Do you have any AX-specific problem, or do you need to know how to set up HTTPS in general?

  • Community Member Profile Picture
    on at

    The need is specific to the Dynamics AX OData Service.  I setup HTTPS for the website without any issue.  

  • Martin Dráb Profile Picture
    237,978 Most Valuable Professional on at

    The WCF configuration for OData service is stored in Ax32Serv.exe.config (in AX server bin directory). I assume you could configure it to use HTTP transport security as usual.

  • Community Member Profile Picture
    on at

    Can we dive into the details, as this is where it breaks down for me? I can find a lot of general articles on creating a WCF service and then enabling HTTPS.  However, the combination of settings specified in the articles does not produce a working OData service with AX.  

  • Martin Dráb Profile Picture
    237,978 Most Valuable Professional on at

    Are you saying that you don't know how to configure any WCF service for HTTPS, or that you can do it with other services but it doesn't work with the OData service in AX? In either case, what exactly happens? E.g. what kind of error messages do you get? Just knowing that it doesn't work is not enough for suggestion a solution.

    I don't know if this setup will work, but I don't see so far why it shouldn't and we definitely can try it.

  • Verified answer
    Community Member Profile Picture
    on at

    I have continued to work on this and hit upon the correct setup.  

    In addition to the configuration changes in the .config file (security mode change to transport, httpsGetEnabled and httpsGetURL setup in behaviors and address change to https in the endpoint address) a URL reservation had to be updated to https for port 8101 using netsh.  The SSL cert must be bound to the port as well, but I already had this step in place.  

    The URL reservation was the last remaining item that kept the service from working on https.  The OData service now works on HTTPs

  • Martin Dráb Profile Picture
    237,978 Most Valuable Professional on at

    Great, good work! And thank you for letting us know.

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