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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

OData Service setup required?

(0) ShareShare
ReportReport
Posted on by

We are developing a tool that can read from OData services. One of our clients asked about support for Dynamics 365 for Operations, so we are attempting to verify it works with a Dynamics 365 for Operations trial. However, when we go to the https://d365try-15.trial.operations.dynamics.com/namespaces/[namespace]/data endpoint in the browser, we get an "Object reference not set to an instance of an object" error.

Is there any setup required to get the OData service to work, or is this just a known limitation of the trial and would not be expected in a production environment?

If it is helpful, the stacktrace from the OData service is as follows:

at Microsoft.Dynamics.Platform.Integration.Common.SessionManagement.ServicesRequestSessionHelper.EnsureRequestSession(HttpRequestMessage httpRequest) at Microsoft.Dynamics.Platform.Integration.Common.SessionManagement.EnsureServicesRequestSessionHandler.EnsureServicesRequestSession(HttpRequestMessage request, IApplicationEnvironment applicationEnvironment) at Microsoft.Dynamics.Platform.Integration.Common.SessionManagement.EnsureServicesRequestSessionHandler.<SendAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__18`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.HttpServer.<SendAsync>d__0.MoveNext()

*This post is locked for comments

I have the same question (0)
  • Pravasti AK Profile Picture
    2,985 on at

    Hi,

    I think below steps may resolve ur issue:

    Go to Dynamics 365 -> Build Models

    Select the model which you have recently customized.

    Select Synchronize database. Click Build.

  • Community Member Profile Picture
    on at

    Hi,

    I don't really follow your steps. I don't see a "Build Modules" on the home.dynamics.com page, or on the Dynamics 365 for Operations page. We are using the same trial as the one mentioned on this article:

    community.dynamics.com/.../try-out-dynamics-365-for-operations-now-for-free

    It is pretty limited and I am not aware of a way to make customizations on it. We suspect the trial is not designed for use with the OData service.

  • Martin Dráb Profile Picture
    239,364 Most Valuable Professional on at

    Use the trial too look at how Dynamics 365 looks and work.

    To customize it, obtain a development environment.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans