“Message”: “An error has occurred.”, “ExceptionMessage”: “There was no Claim specifying the Application Id.”, “ExceptionType”: “System.Security.SecurityException”, “StackTrace”: " at Microsoft.Dynamics.Platform.Integration.Services.WebApi.Connector.ConnectorExceptionHandlingAttribute.OnException(HttpActionExecutedContext actionExecutedContext)\r\n at System.Web.Http.Filters.ExceptionFilterAttribute.OnExceptionAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)\r\n— End of stack trace from previous location where exception was thrown —\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at
I am facing same problem…I am trying to import .csv file using DIXF recurrence job using REST api 's in c# program…Please provide the solution for above error.
It seems that you’re not doing the authentication correctly. Request must contain the application ID registered in Azure Active Directory, which doesn’t seem to be the case in your implementation.
Rather then reinventing the wheel, borrow the code from Microsoft samples.
{“Could not load file or assembly ‘Microsoft.Dynamics.AX.Framework.Tools.DataManagement.Serialization, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)”:“Microsoft.Dynamics.AX.Framework.Tools.DataManagement.Serialization, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”}
what does this mean?
Also,
for Recurring job implementation I am using below URL.
VS: Microsoft Visual Studio Enterprise 2017
Version 15.1 (26403.7) Release
VisualStudio.15.Release/15.1.0+26403.7
Microsoft .NET Framework
Version 4.7.02046
AX Tool: Dynamics 365 for operations (free 30 day trial using Ms Lifecycle services)
project requirement is to do recurring job using C# and REST.
What should be the query param for the application Id, or should it be in the headers?
P.S. I can’t use the Microsoft samples or the new way of integration as you mentioned below, because I’m trying to build a NodeJs application that fetches data from MS dynamics FnO.